Iniciar DHCP junto com o sistema? [RESOLVIDO]

1. Iniciar DHCP junto com o sistema? [RESOLVIDO]

Glauber GF
mcnd2

(usa Debian)

Enviado em 31/08/2008 - 12:27h

Olá a todos.

Vamos ao problema.

Depois de tanto custo consegui instalar o slackware 12.1 em meu PC. Instalei em modo FULL sem o KDE. Depois pesquisei e instalei o slackbuild (gnome para o slackware), sendo que estava dando alguns bug principalmente na rede. Não querendo ficar com problemas em meu pc pois tenho que deixar ele apto para minha utilização diaria, decidi desinstalar o slackbuild. Feito isso o XFCE quando inicializa não está mais inicializando o servidor DHCP. So consigo navegar executando o comando "dhcpcd eth0", aí sim volta o servidor dhcp e a net funcona normalmente sem nenhum bug. Acho eu que o problema era com o slackbuild.

Venho pedir uma ajuda de como posso deixar o servidor dhcp iniciar junto com o XFCE.

Desde já agradeço.

Vlw...


  


2. Re: Iniciar DHCP junto com o sistema? [RESOLVIDO]

Daniel Vaz Villalobos Martins
danielmartins

(usa Kurumin)

Enviado em 31/08/2008 - 13:08h

Para configurar a rede novamente digite "netconfig" e siga as orientações, configurando a placa para pegar endereço via DHCP.
Acredito que isto já esteja certo, então verifica também as mensagens de inicialização digitando "dmesg |less" e veja o que ta acontecendo.
Tive um problema semelhante ao seu e era configuração do samba que estava errada e dava erro na inicialização e ele entreva em nivel de execução 1 (para manutenção), veja se não é seu caso.


3. danielmartins

Glauber GF
mcnd2

(usa Debian)

Enviado em 31/08/2008 - 15:08h

Pelo que percebi acho que não tem nada de errado. Segue o comando executado, como pode ver tive que executar o comando "dhcpcd eth0" antes para eu ter acesso a net.

bash-3.1$ su
Password:
bash-3.1# dhcpcd eth0
bash-3.1# dmesg lless
Linux version 2.6.24.5 (root@midas) (gcc version 4.2.3) #2 Wed Apr 30 14:13:52 CDT 2008
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003ffa0000 (usable)
BIOS-e820: 000000003ffa0000 - 000000003ffb0000 (ACPI data)
BIOS-e820: 000000003ffb0000 - 000000003fff0000 (ACPI NVS)
BIOS-e820: 000000003fff0000 - 0000000040000000 (reserved)
BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
Entering add_active_range(0, 0, 262048) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 229376
HighMem 229376 -> 262048
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 262048
On node 0 totalpages: 262048
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 1760 pages used for memmap
Normal zone: 223520 pages, LIFO batch:31
HighMem zone: 255 pages used for memmap
HighMem zone: 32417 pages, LIFO batch:7
Movable zone: 0 pages used for memmap
DMI 2.3 present.
ACPI: RSDP 000FA9F0, 0021 (r2 ACPIAM)
ACPI: XSDT 3FFA0100, 003C (r1 A M I OEMXSDT 11000523 MSFT 97)
ACPI: FACP 3FFA0290, 00F4 (r3 A M I OEMFACP 11000523 MSFT 97)
ACPI: DSDT 3FFA03E0, 42E1 (r1 A0310 A0310001 1 MSFT 100000D)
ACPI: FACS 3FFB0000, 0040
ACPI: APIC 3FFA0390, 004A (r1 A M I OEMAPIC 11000523 MSFT 97)
ACPI: OEMB 3FFB0040, 003F (r1 A M I OEMBIOS 11000523 MSFT 97)
ACPI: PM-Timer IO Port: 0x808
Allocating PCI resources starting at 50000000 (gap: 40000000:bf780000)
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000e4000
swsusp: Registered nosave memory region: 00000000000e4000 - 0000000000100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260001
Kernel command line: BOOT_IMAGE=Slackware_12.1 ro root=802 huge.s vt.default_utf8=0
Unknown boot option `huge.s': ignoring
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 1600.100 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1029968k/1048192k available (5823k kernel code, 17596k reserved, 1950k data, 340k init, 130688k highmem)
virtual kernel memory layout:
fixmap : 0xfffe8000 - 0xfffff000 ( 92 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc089a000 - 0xc08ef000 ( 340 kB)
.data : 0xc06afea0 - 0xc089795c (1950 kB)
.text : 0xc0100000 - 0xc06afea0 (5823 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Calibrating delay using timer specific routine.. 3204.07 BogoMIPS (lpj=6408144)
Security Framework initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 078bfbff e3d3fbff 00000000 00000000 00000001 00000000 00000001 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 078bfbff e3d3fbff 00000000 00000410 00000001 00000000 00000001 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
CPU: AMD Sempron(tm) Processor 2800+ stepping 02
Checking 'hlt' instruction... OK.
Freeing SMP alternatives: 0k freed
ACPI: Core revision 20070126
ACPI: setting ELCR to 0200 (from 0c20)
net_namespace: 64 bytes
xor: automatically using best checksumming function: pIII_sse
pIII_sse : 5088.000 MB/sec
xor: using function: pIII_sse (5088.000 MB/sec)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: enabled onboard AC97/MC97 devices
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] - D9, should be CB [20070126]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 14 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
ACPI: RTC can wake from S4
Time: tsc clocksource has been installed.
system 00:08: ioport range 0x290-0x297 has been reserved
system 00:09: ioport range 0x3e1-0x3e7 has been reserved
system 00:09: ioport range 0x4d0-0x4d1 has been reserved
system 00:09: ioport range 0x800-0x87f has been reserved
system 00:09: ioport range 0x400-0x41f has been reserved
system 00:0a: iomem range 0xfec00000-0xfec00fff has been reserved
system 00:0a: iomem range 0xfee00000-0xfee00fff has been reserved
system 00:0a: iomem range 0xfff80000-0xffffffff could not be reserved
system 00:0d: iomem range 0x0-0x9ffff could not be reserved
system 00:0d: iomem range 0xc0000-0xdffff could not be reserved
system 00:0d: iomem range 0xe0000-0xfffff could not be reserved
system 00:0d: iomem range 0x100000-0x3ffeffff could not be reserved
system 00:0d: iomem range 0x0-0x0 could not be reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: faf00000-fbffffff
PREFETCH window: e0000000-f9ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NTFS driver 2.1.29 [Flags: R/W].
JFS: nTxBlock = 8048, nTxLock = 64388
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
GFS2 (built Apr 30 2008 14:11:37) installed
async_tx: api initialized (async)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: VIA PCI bridge detected. Disabling DAC.
Boot video device is 0000:01:00.0
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
vesafb: framebuffer at 0xe0000000, mapped to 0xf8d00000, using 1536k, total 262144k
vesafb: mode is 1024x768x8, linelength=1024, pages=3
vesafb: protected mode interface info at c000:dcd0
vesafb: pmi: set display start = c00cdd06, set palette = c00cdd70
vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
0000:00:0b.0: ttyS0 at I/O 0xe828 (irq = 11) is a 8250
0000:00:0b.0: ttyS2 at I/O 0xe840 (irq = 11) is a 8250
0000:00:0b.0: ttyS3 at I/O 0xe850 (irq = 11) is a 8250
Couldn't register serial port 0000:00:0b.0: -28
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: module loaded
Compaq SMART2 Driver (v 2.6.0)
HP CISS Driver (v 3.6.14)
input: Macintosh mouse button emulation as /devices/virtual/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at PCI slot 0000:00:0f.1
ACPI: PCI Interrupt 0000:00:0f.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: VIA VLink IRQ fixup for 0000:00:0f.1, from 255 to 11
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
Probing IDE interface ide1...
hdd: ATAPI-CD ROM-DRIVE-56MAX, ATAPI CD/DVD-ROM drive
hdc: HL-DT-ST DVDRAM GSA-H10A, ATAPI CD/DVD-ROM drive
hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hdc: UDMA/33 mode selected
hdd: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hdd: host side 80-wire cable detection failed, limiting max speed to UDMA33
hdd: UDMA/33 mode selected
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide0...
hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 50X CD-ROM drive, 128kB Cache
ide-floppy driver 0.99.newide
Loading iSCSI transport class v2.0-724.
Loading Adaptec I2O RAID: Version 2.4 Build 5go
Detecting Adaptec I2O RAID controllers...
Adaptec aacraid driver 1.1-5[2449]-ms
aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
scsi: <fdomain> Detection failed (no card)
sym53c416.c: Version 1.0.0-ac
qlogicfas: no cards were found, please specify I/O address and IRQ using iobase= and irq= options<6>QLogic Fibre Channel HBA Driver
iscsi: registered transport (qla4xxx)
QLogic iSCSI HBA Driver
Emulex LightPulse Fibre Channel SCSI driver 8.2.2
Copyright(c) 2004-2007 Emulex. All rights reserved.
seagate: ST0x/TMC-8xx not detected.
Failed initialization of WD-7000 SCSI card!
DC390: clustering now enabled by default. If you get problems load
with "disable_clustering=1" and report to maintainers
megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
megasas: 00.00.03.10-rc5 Thu May 17 10:09:32 PDT 2007
GDT-HA: Storage RAID Controller Driver. Version: 3.05
GDT-HA: Found 0 PCI Storage RAID Controllers
3ware Storage Controller device driver for Linux v1.26.02.002.
3ware 9000 Storage Controller device driver for Linux v2.26.02.010.
nsp32: loading...
ipr: IBM Power RAID SCSI Device Driver version: 2.4.1 (April 24, 2007)
RocketRAID 3xxx SATA Controller driver v1.2 (070830)
st: Version 20070203, fixed bufsize 32768, s/g segs 256
Driver 'st' needs updating - please use bus_type methods
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
sata_via 0000:00:0f.0: version 2.3
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0f.0[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
sata_via 0000:00:0f.0: routed to hard irq line 10
scsi2 : sata_via
scsi3 : sata_via
ata1: SATA max UDMA/133 cmd 0xe400 ctl 0xe000 bmdma 0xd000 irq 10
ata2: SATA max UDMA/133 cmd 0xd800 ctl 0xd400 bmdma 0xd008 irq 10
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7: ST3320620AS, 3.AAE, max UDMA/133
ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
ata2: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
scsi 2:0:0:0: Direct-Access ATA ST3320620AS 3.AA PQ: 0 ANSI: 5
sd 2:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3 sda4
sd 2:0:0:0: [sda] Attached SCSI disk
I2O subsystem v1.325
i2o: max drivers = 8
I2O Configuration OSM v1.323
I2O Bus Adapter OSM v1.317
I2O Block Device OSM v1.325
I2O SCSI Peripheral OSM v1.316
I2O ProcFS OSM v1.316
Fusion MPT base driver 3.04.06
Copyright (c) 1999-2007 LSI Corporation
Fusion MPT SPI Host driver 3.04.06
Fusion MPT FC Host driver 3.04.06
Fusion MPT SAS Host driver 3.04.06
usbmon: debugfs is not available
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:10.4[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: irq 5, io mem 0xfac00000
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
116x: driver isp116x-hcd, 03 Nov 2005
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 11, io base 0x0000b400
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 11, io base 0x0000b800
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb 1-5: new high speed USB device using ehci_hcd and address 2
ACPI: PCI Interrupt 0000:00:10.2[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 10, io base 0x0000c000
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 1-5: configuration #1 chosen from 1 choice
ACPI: PCI Interrupt 0000:00:10.3[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:10.3: UHCI Host Controller
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:10.3: irq 10, io base 0x0000c400
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
sl811: driver sl811-hcd, 19 May 2005
Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
raid6: int32x1 606 MB/s
raid6: int32x2 634 MB/s
raid6: int32x4 606 MB/s
raid6: int32x8 441 MB/s
raid6: mmxx1 1277 MB/s
raid6: mmxx2 2379 MB/s
raid6: sse1x1 1062 MB/s
raid6: sse1x2 1688 MB/s
raid6: sse2x1 1716 MB/s
raid6: sse2x2 2398 MB/s
raid6: using algorithm sse2x2 (2398 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: multipath personality registered for level -4
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Using IPI Shortcut mode
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 340k freed
sd 2:0:0:0: Attached scsi generic sg0 type 0
Linux agpgart interface v0.102
agpgart: Detected AGP bridge 0
agpgart: AGP aperture is 256M @ 0xd0000000
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
input: Power Button (FF) as /devices/virtual/input/input2
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /devices/virtual/input/input3
ACPI: Power Button (CM) [PWRB]
i2c_core: exports duplicate symbol i2c_smbus_xfer (owned by kernel)
scsi scan: INQUIRY result too short (5), using 36
scsi 4:0:0:0: Direct-Access USB 2.0 (HS) Flash Disk 1.00 PQ: 0 ANSI: 0 CCS
sd 4:0:0:0: [sdb] 1993649 512-byte hardware sectors (1021 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 00 c0 00 00
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sd 4:0:0:0: [sdb] 1993649 512-byte hardware sectors (1021 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 00 c0 00 00
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sdb: unknown partition table
sd 4:0:0:0: [sdb] Attached SCSI removable disk
sd 4:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
eth0: VIA Rhine II at 0xfab00000, 00:15:f2:c6:7e:32, IRQ 11.
eth0: MII PHY found at address 1, status 0x786d advertising 01e1 Link 45e1.
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
rtc_cmos: probe of 00:02 failed with error -16
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
parport_pc 00:0c: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
Adding 1052216k swap on /dev/sda1. Priority:-1 extents:1 across:1052216k
fuse init (API version 7.9)
EXT3 FS on sda2, internal journal
lp0: using parport0 (interrupt-driven).
lp0: console ready
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
bash-3.1#

Fico na espera...


4. Re: Iniciar DHCP junto com o sistema? [RESOLVIDO]

Daniel Vaz Villalobos Martins
danielmartins

(usa Kurumin)

Enviado em 31/08/2008 - 15:22h

Bom, também não achei nenhum erro.
A configuração da rede no Slackware fica em "/etc/rc.d/rc.inet1.conf" abra esse arquivo e verifique a configuração da rede, deixe como abaixo para usar com DHCP

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

Apesar de que o netconfig configura isso automaticamente.
Se isso estiver certo, verifique também se o rc.inet1 está em modo de execução, para que seja inicializado.
Para testar:
#/etc/rc.d/rc.iniet1 restart

Outra coisa, verifique se existem as linhas em /etc/rc.d/rc.M e se estão descomentadas:

if [ -x /etc/rc.d/rc.inet1 ]; then
. /etc/rc.d/rc.inet1
if [ -x /etc/rc.d/rc.inet2 ]; then
. /etc/rc.d/rc.inet2

Se não conseguir arrumar e quiser dar um "jeitinho", então, ponha dentro de /etc/rc.d/rc.local a linha
dhcpcd eth0


5. danielmartins...

Glauber GF
mcnd2

(usa Debian)

Enviado em 31/08/2008 - 16:51h

Aí, o arquivo "rc.inet1.conf" em /etc/rc.d está da mesma forma que você mencionou:

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

Depois verifiquei o arquivo "rc.inet1" se estava em modo de execução, e realmente não estava marcado para executar como programa. Modifiquei como root marcando para executar como programa.
Como você pode ver aí embaixo que o comando não tinha permissão. Logo depois da modificação o mesmo comando vez o que deveria fazer sem problemas, assim eu acho.

bash-3.1# /etc/rc.d/rc.inet1 restart
bash: /etc/rc.d/rc.inet1: Permissão negada
bash-3.1# thunar

(thunar:3781): thunar-vfs-WARNING **: Falha ao conectar ao servidor HAL: Failed to connect to socket /var/run/dbus/system_bus_socket: Conex\xe3o recusada
Thunar: Failed to connect to the D-BUS session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
bash-3.1# /etc/rc.d/rc.inet1 restart
/etc/rc.d/rc.inet1: /sbin/route del default
/etc/rc.d/rc.inet1: /sbin/dhcpcd -k -d eth0
/etc/rc.d/rc.inet1: /sbin/ifconfig lo down
/etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1
/etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
Polling for DHCP server on interface eth0:
/etc/rc.d/rc.inet1: /sbin/dhcpcd -d -t 30 -h DHCP eth0
dhcpcd: MAC address = 00:15:f2:c6:7e:32
dhcpcd: your IP address = 192.168.0.119
bash-3.1#

Vou iniciar o PC se não resolver, vou ver se arrumo desse "jeitinho" colocando dentro do /etc/rc.d/rc.local a linha "dhcpcd eth0".

Vlw brother, volto já...



6. Vlw danielmartins...

Glauber GF
mcnd2

(usa Debian)

Enviado em 31/08/2008 - 17:04h

Nem precisei do "jeitinho" kkkkkk...

Depois do reboot tudo funfou perfeitamente.

Obrigado brother, até o próximo problema, rsrsrs...

Vlw...






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts