Покажи Публикации - aladin
* Виж публикациите на потр. | Виж темите на потр. | Виж прикачените файлове на потр
Страници: 1 2 [3] 4
31  Linux секция за начинаещи / Настройка на програми / Проблем с интернета при sabayon (pppoe) -: Aug 06, 2007, 00:30
Цитат (ivo1204 @ Авг. 06 2007,01:19)
@arda_kj
Sabayon има   инсталирани от диска "Wireshark" , КWIFIManager , KNetworkmanager  , ако това би ти помогнало.

Тия всичките ги тествах,но само показват състоянието на мрежата!
KNetworkmanager не ми дава да пипам нищо по настройките на лана!

мрежата как да я видя дали бачка нормално  '<img'>




Примерен код

eth0      Link encap:Ethernet  HWaddr 00:15:F2:A1:59:57
          inet addr:169.254.119.179  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:80 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5364 (5.2 Kb)  TX bytes:8717 (8.5 Kb)
          Interrupt:18 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:110 errors:0 dropped:0 overruns:0 frame:0
          TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8276 (8.0 Kb)  TX bytes:8276 (8.0 Kb)



sabayonx86 aladin # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo


проблема мисля е че се запомнят настройките на ip и маската!

има ли някаква особенноста за това при Gentoo?




чакайте малко да рестартирам де,то не може веднага '<img'>



32  Linux секция за начинаещи / Настройка на програми / Проблем с интернета при sabayon (pppoe) -: Aug 06, 2007, 00:15
Ако не давам подробно не е нарочно !
А от незнание как да проверя !
А и това,че че влизам под Линукс,после под ХР да пиша какво е станало и пердаша по памет!

1 ланкарта имам.
33  Linux секция за начинаещи / Настройка на програми / Проблем с интернета при sabayon (pppoe) -: Aug 05, 2007, 23:22
пак нищо-не ми открива eth0,т.е. не може да се върже

чудя се вече дали има инсталирани  драйвери за ланката!

Knetworkmanager ми дава че не ми е активно менюто на лан мрежа.

Абе няма ли на тоя Sabayon някакъв менижър на пакети?
И как се вижда кое е инсталирано и кое не?Примерно драйвери за тунер,мрежа и т.н. или само в конзолата?



34  Linux секция за начинаещи / Настройка на програми / Проблем с интернета при sabayon (pppoe) -: Aug 05, 2007, 21:10
Примерен код
#***********************************************************************
#
# pppoe.conf
#
# Configuration file for rp-pppoe.  Edit as appropriate and install in
# /etc/ppp/pppoe.conf
#
# NOTE: This file is used by the pppoe-start, pppoe-stop, pppoe-connect and
#       pppoe-status shell scripts.  It is *not* used in any way by the
#       "pppoe" executable.
#
# Copyright (C) 2000 Roaring Penguin Software Inc.
#
# This file may be distributed under the terms of the GNU General
# Public License.
#
# LIC: GPL
# $Id: pppoe.conf,v 1.11 2005/08/09 02:49:12 dfs Exp $
#***********************************************************************

# When you configure a variable, DO NOT leave spaces around the "=" sign.

# Ethernet card connected to DSL modem
#
# NB: Gentoo overrides ETH when pppoe-start is called from the
# networking scripts.  This setting has no effect in that case.
ETH='0'

# PPPoE user name.  You may have to supply "@provider.com"  Sympatico
# users in Canada do need to include "@sympatico.ca"
# Sympatico uses PAP authentication.  Make sure /etc/ppp/pap-secrets
# contains the right username/password combination.
# For Magma, use [EMAIL=xxyyzz@magma.ca]xxyyzz@magma.ca[/EMAIL]
USER='kl34814'

# Bring link up on demand?  Default is to leave link up all the time.
# If you want the link to come up on demand, set DEMAND to a number indicating
# the idle time after which the link is brought down.
DEMAND=10
#DEMAND=300

# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
# NOCHANGE=do not adjust.
DNSTYPE=NOCHANGE

# Obtain DNS server addresses from the peer (recent versions of pppd only)
# In old config files, this used to be called USEPEERDNS.  Changed to
# PEERDNS for better Red Hat compatibility
PEERDNS=no

DNS1=
DNS2=

# Make the PPPoE connection your default route.  Set to
# DEFAULTROUTE=no if you don't want this.
DEFAULTROUTE=yes

### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT

# How long pppoe-start waits for a new PPP interface to appear before
# concluding something went wrong.  If you use 0, then pppoe-start
# exits immediately with a successful status and does not wait for the
# link to come up.  Time is in seconds.
#
# WARNING WARNING WARNING:
#
# If you are using rp-pppoe on a physically-inaccessible host, set
# CONNECT_TIMEOUT to 0.  This makes SURE that the machine keeps trying
# to connect forever after pppoe-start is called.  Otherwise, it will
# give out after CONNECT_TIMEOUT seconds and will not attempt to
# connect again, making it impossible to reach.
CONNECT_TIMEOUT=30

# How often in seconds pppoe-start polls to check if link is up
CONNECT_POLL=2

# Specific desired AC Name
ACNAME=

# Specific desired service name
SERVICENAME=

# Character to echo at each poll.  Use PING="" if you don't want
# anything echoed
PING="."

# File where the pppoe-connect script writes its process-ID.
# Three files are actually used:
#   $PIDFILE       contains PID of pppoe-connect script
#   $PIDFILE.pppoe contains PID of pppoe process
#   $PIDFILE.pppd  contains PID of pppd process
#
# NB: Gentoo overrides PIDFILE when pppoe-start is run from the
# networking scripts.  This setting has no effect in that case.
PIDFILE="/var/run/$CF_BASE-pppoe.pid"

# Do you want to use synchronous PPP?  "yes" or "no".  "yes" is much
# easier on CPU usage, but may not work for you.  It is safer to use
# "no", but you may want to experiment with "yes".  "yes" is generally
# safe on Linux machines with the n_hdlc line discipline; unsafe on others.
SYNCHRONOUS=no

# Do you want to clamp the MSS?  Here's how to decide:
# - If you have only a SINGLE computer connected to the DSL modem, choose
#   "no".
# - If you have a computer acting as a gateway for a LAN, choose "1412".
#   The setting of 1412 is safe for either setup, but uses slightly more
#   CPU power.
CLAMPMSS=1412
#CLAMPMSS=no

# LCP echo interval and failure count.
LCP_INTERVAL=20
LCP_FAILURE=3

# PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
PPPOE_TIMEOUT=80

# Firewalling: One of NONE, STANDALONE or MASQUERADE
FIREWALL=NONE

# Linux kernel-mode plugin for pppd.  If you want to try the kernel-mode
# plugin, use LINUX_PLUGIN=rp-pppoe.so
LINUX_PLUGIN=

# Any extra arguments to pass to pppoe.  Normally, use a blank string
# like this:
PPPOE_EXTRA=""

# Rumour has it that "Citizen's Communications" with a 3Com
# HomeConnect DSL Modem DualLink requires these extra options:
# PPPOE_EXTRA="-f 3c12:3c13 -S ISP"

# Any extra arguments to pass to pppd.  Normally, use a blank string
# like this:
PPPD_EXTRA=""


########## DON'T CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
# If you wish to COMPLETELY overrride the pppd invocation:
# Example:
# OVERRIDE_PPPD_COMMAND="pppd call dsl"

# If you want pppoe-connect to exit when connection drops:
# RETRY_ON_FAILURE=no


Knetworkmanager-a ми дава че имам активиран уарлес/а аз нямам/.забранявам го.
после обаче нямам опция за настройка на лан картата през Knetworkmanager.
През старт менюто пускам някаква програмка за задаване ИП на лана,обаче не може да се запомни.



как се влиза като роот да се редактира?



35  Linux секция за начинаещи / Настройка на програми / Update grub-как става -: Aug 05, 2007, 20:28
Примерен код
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default      0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=dfe8265b-7083-4419-a8c8-5eed4656a186 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,5)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=bg_BG

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title      Ubuntu, kernel 2.6.20-15-generic
root      (hd0,5)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=dfe8265b-7083-4419-a8c8-5eed4656a186 ro quiet splash locale=bg_BG
initrd      /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root      (hd0,5)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=dfe8265b-7083-4419-a8c8-5eed4656a186 ro single
initrd      /boot/initrd.img-2.6.20-15-generic

title      Ubuntu, memtest86+
root      (hd0,5)
kernel      /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title      Microsoft Windows XP Professional
root      (hd0,0)
savedefault
makeactive
chainloader   +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title      Sabayon Linux x86 3.4 (on /dev/hda5)
root      (hd0,4)
kernel      /boot/kernel-genkernel-x86-2.6.22-sabayon root=/dev/ram0 ramdisk=8192 real_root=UUID=49d3ad4a-733c-4177-acd0-fa0ff78269b0 quiet init=/linuxrc splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 dodmraid pci=nomsi
initrd      /boot/initramfs-genkernel-x86-2.6.22-sabayon
savedefault
boot



така е след преинсталацията '<img'>
Кубунтуту автоматик го сложи,всичко бачка
36  Linux секция за начинаещи / Настройка на програми / Проблем с интернета при sabayon (pppoe) -: Aug 05, 2007, 18:54
А сега и при мен '<img'>

като настроя pppoe-то не ще да ми се закачи към ланка-та.
при pppoe-connect ми казва че не може да ми се закачи към лана и ми дава някакво вътрешно ИП

При настройката ,по дефлоут pppoe-to e към eth0,и аз му давам да е 0-устроство
Идея?

t.e.  целата ми е как да окажа към коя лан карта да се закача връзката?



37  Linux секция за начинаещи / Настройка на програми / Update grub-как става -: Aug 05, 2007, 18:00
arda_kj,и преинсталирах груба и редактирах-пак не става.

дяла бях го писал 6 а не 5
38  Linux секция за начинаещи / Настройка на програми / Update grub-как става -: Aug 05, 2007, 15:43
Тъпа работа е тоя Sabayon.
Как ли не го инсталирах-със суаб,без,на различни хардове-не става.уж има груб след края на инсталацията-не ще да се стартира.Сега махнах и ХР и кубунту и го инсталнах на чист хард-пак не ще/.аз му задавам партишъните/.Пак уж си инсталира груба и пак не ще да се боотне
Само не съм пробвал автоматично да се инсталне,но тогава на 80-ка хард иска той да си го дели-2 гига суап и на 78 инсталация.ъпа работа.
39  Linux секция за начинаещи / Настройка на програми / Update grub-как става -: Aug 05, 2007, 14:05
Цитат (Kalin @ Авг. 05 2007,13:56)
Отговора на търсачката за update AND grub. Нито една тема няма отговор за теб, така ли?  '<img'>

От сутринта чета и съм до никаде

Примерен код
grub-install /dev/hda


ne mи закача Sabayona



40  Linux секция за начинаещи / Настройка на програми / Update grub-как става -: Aug 05, 2007, 12:11
Примерен код
aladin@aladin-desktop:~$ sudo fdisk -l

Disk /dev/sda: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2550    20482843+   c  W95 FAT32 (LBA)
/dev/sda2            2551       36481   272550757+   f  W95 Ext'd (LBA)
/dev/sda5            2551       36481   272550726    7  HPFS/NTFS

Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1275    10241406    c  W95 FAT32 (LBA)
/dev/hda2            1276       10011    70171920    5  Extended
/dev/hda5            1276        3354    16699536   83  Linux
/dev/hda6            3355        5313    15735636   83  Linux
/dev/hda7            5314       10011    37736653+   7  HPFS/NTFS


/dev/hda1   е ХР
/dev/hda5 ми е Кубунту
/dev/hda6 е Sabayon ,но GRUB-а захапва само Кубунтото и ХР.

Примерен код
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default      0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=f7654099-e6c1-4649-8fbb-a6e4f30396a5 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=bg_BG

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title      Ubuntu, kernel 2.6.20-15-generic
root      (hd0,4)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=f7654099-e6c1-4649-8fbb-a6e4f30396a5 ro quiet splash locale=bg_BG
initrd      /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root      (hd0,4)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=f7654099-e6c1-4649-8fbb-a6e4f30396a5 ro single
initrd      /boot/initrd.img-2.6.20-15-generic

title      Ubuntu, memtest86+
root      (hd0,4)
kernel      /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title      Microsoft Windows XP Professional
root      (hd0,0)
savedefault
makeactive
chainloader   +1

Идея какво да направя!
41  Linux секция за начинаещи / Настройка на програми / Проблем с интернета при sabayon (pppoe) -: Aug 03, 2007, 15:41
Цитат (FirstKill @ Авг. 03 2007,16:27)
Просто незнам за IP-то на ланката, само знам че не ми дава да стартирам pppoe-start  '<img'>
Иначе pppoe-setup стана като написах :

Примерен код
sed -i 's#/bin/id#/usr&#g' `which pppoe-setup`


А superuser не е ли root ?

АМи напиши го и пробвай пак!
Ако не ги знаещ или звъни на доставчика ти или препиши от уиндоса.
Запиши си и DNS,Gateway,servername  за всеки случай.

И не,superuser не е  root ,поне доколото снощи видях като се пробвах да инсталирам/при мен не стана де,довечера пак ще пробвам/



42  Linux секция за начинаещи / Настройка на програми / Проблем с интернета при sabayon (pppoe) -: Aug 03, 2007, 14:48
Примерен код
you must be [B]root[/B] to run this script


мини като root,а не като superuser


поне така писа

IP-та на ланката задава ли?



43  Linux секция за начинаещи / Настройка на програми / Проблем с интернета при sabayon (pppoe) -: Aug 03, 2007, 11:05
Виж какво ми написаха в друг форума

Примерен код
pppoe-setup
pppoe-start
Като всеки друг линукс.

П.С. Евентуално може да се наложи да добави Address Concentrator в /etc/ppp/pppoe.conf
44  Linux секция за начинаещи / Настройка на програми / Проблем с интернета при sabayon (pppoe) -: Aug 02, 2007, 16:11
Здравей!
Успя ли да го пуснеш,че и аз мисля днес да го пробвам?
С 3D-то на Ати как е?Инсталира ли се нормално?
45  Linux секция за начинаещи / Настройка на хардуер / Tv tuner на kubuntu 7.04-как? -: Aug 02, 2007, 09:33
Краен резултат-няма звук.
Даже като боцна кабелчето на колонките директно в тунера няма звук!Нещо е до настройки!
Чудя се тази saa7134_alsa да не е нещо за звука,че я забраних.От това дали няма звук!
Страници: 1 2 [3] 4