Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2007-11-28 21:59:08

  morys - Członek DUG

morys
Członek DUG
Skąd: podbeskidzie
Zarejestrowany: 2006-03-12

Brak internetu po instalacji Debian Etch ?

Zainstalowałem z pierwszej płyty instalacyjnej Debiana Etch.
Skonfigurował sieć , pobrał najnowsze pakiety ale po pierwszym uruchomieniu mam brak sieci.
Były na forum tego typu problemy ale jakos nie mogę z nich nic dobrac do swoich potrzeb.

morys@debian:~$ lspci | grep Ethernet
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)

debian:/home/morys# lsmod
Module                  Size  Used by
ppdev                   8708  0
lp                     10948  0
button                  6800  0
ac                      5252  0
battery                 9732  0
ipv6                  213856  8
nls_iso8859_2           4864  2
nls_cp852               5120  2
vfat                   11648  2
fat                    45980  1 vfat
dm_snapshot            15644  0
dm_mirror              18000  0
dm_mod                 48952  2 dm_snapshot,dm_mirror
loop                   14216  0
tsdev                   7616  0
snd_via82xx            25368  1
snd_ac97_codec         82848  1 snd_via82xx
snd_ac97_bus            2432  1 snd_ac97_codec
snd_pcm_oss            38048  0
snd_mixer_oss          15232  1 snd_pcm_oss
snd_pcm                65928  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc          9736  2 snd_via82xx,snd_pcm
snd_seq_dummy           3972  0
snd_seq_oss            27648  0
snd_seq_midi            8352  0
snd_seq_midi_event      6784  2 snd_seq_oss,snd_seq_midi
snd_mpu401              7528  0
snd_seq                42192  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
floppy                 52004  0
snd_mpu401_uart         7552  2 snd_via82xx,snd_mpu401
analog                 10528  0
parport_pc             31524  1
parport                32200  3 ppdev,lp,parport_pc
snd_timer              19972  2 snd_pcm,snd_seq
psmouse                34568  0
gameport               13832  2 snd_via82xx,analog
serio_raw               6532  0
snd_rawmidi            22048  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device          7820  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
rtc                    11572  0
via_ircc               22932  0
snd                    45412  14 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_mpu401,snd_seq,snd_mpu401_uart,snd_timer,snd_rawmidi,snd_seq_device
irda                  155836  1 via_ircc
crc_ccitt               2304  1 irda
soundcore               8928  1 snd
i2c_viapro              8340  0
pcspkr                  2816  0
i2c_core               19472  1 i2c_viapro
shpchp                 32796  0
pci_hotplug            28088  1 shpchp
via_agp                 9728  1
agpgart                29360  1 via_agp
evdev                   9088  1
ext3                  116488  1
jbd                    47272  1 ext3
ide_cd                 35616  0
cdrom                  32416  1 ide_cd
ide_disk               14848  5
generic                 5508  0 [permanent]
uhci_hcd               20236  0
usbcore               109444  2 uhci_hcd
via82cxxx               8452  0 [permanent]
ide_core              107760  4 ide_cd,ide_disk,generic,via82cxxx
ne2k_pci               10592  0
8390                    8704  1 ne2k_pci
thermal                13576  0
processor              23724  1 thermal
fan                     4868  0


debian:/home/morys# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:30:4F:22:59:3B
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3495 (3.4 KiB)  TX bytes:1337 (1.3 KiB)
          Interrupt:5 Base address:0xd000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)


Plik: interfaces        Kol 0              288 bajtów                       100%# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

auto eth0

debian:/home/morys# ifconfig eth0 up
debian:/home/morys#

:( a netu jak nie było tak nie ma
Poradzcie jak odpalic sieć ?

edit
Jestem na Gnome

Ostatnio edytowany przez morys (2007-11-28 22:00:22)

Offline

 

#2  2007-11-28 22:04:27

  HunteR - DUG

HunteR
DUG
Skąd: ?
Zarejestrowany: 2006-03-14

Re: Brak internetu po instalacji Debian Etch ?

pokaz dmesg i logi
i sprawdz czy masz zainstalowanego clienta dhcp
sprobuj ustawic ip na statycznie


...

Offline

 

#3  2007-11-28 22:25:45

  szewczyk - Stary wyjadacz :P

szewczyk
Stary wyjadacz :P
Zarejestrowany: 2006-12-03

Re: Brak internetu po instalacji Debian Etch ?

eth0 masz podniesiony ale nieskonfigurowany
ustawienia sieci masz w /etc/network/interfaces

sprawdz dhcp w sieci i dodaj do wpisu :

Kod:

iface eth1 inet dhcp

lub jesli niemasz dhcp to :

np :

Kod:

iface eth0 inet static
    address 192.168.1.4    
    netmask 255.255.255.0
    broadcast 192.168.1.255
    gateway 192.168.1.1

Ostatnio edytowany przez szewczyk (2007-11-28 22:27:22)

Offline

 

#4  2007-11-28 23:23:23

  morys - Członek DUG

morys
Członek DUG
Skąd: podbeskidzie
Zarejestrowany: 2006-03-12

Re: Brak internetu po instalacji Debian Etch ?

Mam radiówkę , AccesPoint i router.
Statycznego nie mogę bo chodza na nim trzy komputery :)

Kod:

morys@debian:~$ dmesg
Linux version 2.6.18-4-486 (Debian 2.6.18.dfsg.1-12) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 Mon Mar 26 16:39:10 UTC 2007
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
 BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
 BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 126960 pages, LIFO batch:31
DMI 2.2 present.
ACPI: RSDP (v000 VIA694                                ) @ 0x000f7410
ACPI: RSDT (v001 VIA694 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3000
ACPI: FADT (v001 VIA694 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3040
ACPI: DSDT (v001 VIA694 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: PM-Timer IO Port: 0x4008
Allocating PCI resources starting at 30000000 (gap: 20000000:dfff0000)
Detected 1200.125 MHz processor.
Built 1 zonelists.  Total pages: 131056
Kernel command line: root=/dev/hda7 ro
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01402000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 511824k/524224k available (1502k kernel code, 11752k reserved, 601k data, 256k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 2402.26 BogoMIPS (lpj=4804529)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After all inits, caps: 0383f9ff c1cbf9ff 00000000 00000420 00000000 00000000 00000000
Compat vDSO mapped to ffffe000.
CPU: AMD Duron(tm) processor stepping 01
Checking 'hlt' instruction... OK.
ACPI: Core revision 20060707
ACPI: setting ELCR to 0200 (from 0a20)
checking if image is initramfs... it is
Freeing initrd memory: 4633k freed
NET: Registered protocol family 16
EISA bus registered
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb0d0, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 15 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: ec000000-edffffff
  PREFETCH window: e0000000-e7ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1196288169.180:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
EISA: Probing bus 0 at eisa.0
Cannot allocate resource for EISA slot 4
EISA: Detected 0 cards.
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
Time: tsc clocksource has been installed.
ACPI: (supports S0 S1 S4 S5)
Freeing unused kernel memory: 256k freed
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI: Fan [FAN] (on)
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
ACPI: Thermal Zone [THRM] (40 C)
ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
  http://www.scyld.com/network/ne2k-pci.html
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
eth0: RealTek RTL-8029 found at 0xd000, IRQ 5, 00:30:4F:22:59:3B.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:11.2[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:11.2: UHCI Host Controller
uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:11.2: irq 11, io base 0x0000d800
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ACPI: PCI Interrupt 0000:00:11.3[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:11.3: UHCI Host Controller
uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:11.3: irq 11, io base 0x0000dc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
VP_IDE: IDE controller at PCI slot 0000:00:11.1
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: VIA IRQ fixup for 0000:00:11.1, from 255 to 11
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci0000:00:11.1
    ide0: BM-DMA at 0xd400-0xd407, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xd408-0xd40f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
Time: acpi_pm clocksource has been installed.
hda: ST340014A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HL-DT-ST CD-ROM GCR-8520B, ATAPI CD/DVD-ROM drive
hdd: LITE-ON DVDRW SHW-160P6S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 512KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Attempting manual resume
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA KT266/KY266x/KT333 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
input: PC Speaker as /class/input/input1
irda_init()
NET: Registered protocol family 23
Real Time Clock Driver v1.12ac
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
input: ImPS/2 Generic Wheel Mouse as /class/input/input2
ts: Compaq touchscreen protocol output
ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:11.5 to 64
Adding 562232k swap on /dev/hda8.  Priority:-1 extents:1 across:562232k
EXT3 FS on hda7, internal journal
loop: loaded (max 8 devices)
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
eth0: no IPv6 routers present

............

Kod:

lease {
  interface "eth0";
  fixed-address 192.168.0.100;
  option subnet-mask 255.255.255.0;
  option routers 192.168.0.1;
  option dhcp-lease-time 946080000;
  option dhcp-message-type 5;
  option domain-name-servers 81.219.120.62;
  option dhcp-server-identifier 192.168.0.1;
  renew 3 2007/11/28 20:35:17;
  rebind 3 2007/11/28 20:35:17;
  expire 3 2007/11/28 20:35:17;

}
lease {
  interface "eth0";
  fixed-address 192.168.0.100;
  option subnet-mask 255.255.255.0;
  option routers 192.168.0.1;
  option dhcp-lease-time 946080000;
  option dhcp-message-type 5;
  option domain-name-servers 81.219.120.62;
  option dhcp-server-identifier 192.168.0.1;
  renew 3 2020/4/15 10:26:10;
  rebind 2 2034/2/21 03:16:26;
  expire 5 2037/11/20 21:16:26;
}

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)