Re: configuring DHCLIENT-2.2.x
> You can add 'pegasus' to the file /etc/modules so it will load
> automatically on load up. I suggest you do that because the networking
> scripts in /etc/init.d/ expect the ethernet device to be up when they
> run. I am assuming that pegasus driver is for a USB based ethernet
> device? That brings up another set of issues (regarding hotplug, but
> lets get your network up first).
done.
> In Debian you typically configure the network in the file
> /etc/network/interfaces instead of manually invoking dhclient. I
> suggest you read 'man interfaces' for details, but basically you need
> add these two lines (assuming eth0 is your device, and you have the module
> loaded on boot as described above).
>
> auto eth0
> iface eth0 inet dhcp
done
> The first line tells the boot scripts (well, actually the ifup
> command) to bring eth0 up on bootup, the second says to use dhcp. You
> can use the commands 'ifup eth0' and 'ifdown eth0' to bring the
> interface up/down after you add these lines to the file. If that works
> just reboot and it should come up.
>
> If all this fails, just kill any running dhclient process (after doing
> an ifdown eth0) and try running 'dhclient eth0' and see what it says.
>
Something about a device not found
> Try the suggestions above and let us know where you are. A part of
> your problem is that dhclient has a different version for 2.2.x and
> 2.0.x kernels (look in /usr/share/doc/dhclient for details). But what
> I describe above *should* work, and if it does not your problem might
> be somewhere else. Now since you are using a USB ethernet device (wow,
> I did not even know they exist) there might be something else getting
> in the way. If things still don't work, tell us what happens as
> precisely as you can.
>
things that might be related:(extracted from syslog)
Jul 18 22:37:06 debian kernel: VFS: Mounted root (ext2 filesystem) readonly
Jul 18 22:37:06 debian kernel: kmod: runaway modprobe loop assumed and stopped
Jul 18 22:37:06 debian kernel: usb.c: registered new driver usbdevfs
Jul 18 22:37:06 debian kernel: usb.c: registered new driver hub
Jul 18 22:37:06 debian kernel: usb-uhci.c: $Revision: 1.237 $ time 11:54:19 Apr 20 2002
Jul 18 22:37:06 debian kernel: usb-uhci.c: High bandwidth mode enabled
Jul 18 22:37:06 debian kernel: usb-uhci.c: USB UHCI at I/O 0xc400, IRQ 9
Jul 18 22:37:06 debian kernel: usb-uhci.c: Detected 2 ports
Jul 18 22:37:06 debian kernel: usb.c: new USB bus registered, assigned bus number 1
Jul 18 22:37:06 debian kernel: usb.c: USB new device connect, assigned device number 1
Jul 18 22:37:06 debian kernel: hub.c: USB hub found
Jul 18 22:37:06 debian kernel: hub.c: 2 ports detected
Jul 18 22:37:06 debian kernel: usb-uhci.c: USB UHCI at I/O 0xc000, IRQ 9
Jul 18 22:37:06 debian kernel: usb-uhci.c: Detected 2 ports
Jul 18 22:37:06 debian kernel: usb.c: new USB bus registered, assigned bus number 2
Jul 18 22:37:06 debian kernel: usb.c: USB new device connect, assigned device number 1
Jul 18 22:37:06 debian kernel: hub.c: USB hub found
Jul 18 22:37:06 debian kernel: hub.c: 2 ports detected
Jul 18 22:37:06 debian kernel: hub.c: USB new device connect on bus2/1, assigned device number 2
Jul 18 22:37:06 debian kernel: usb.c: USB new device connect, assigned device number 2
Jul 18 22:37:06 debian kernel: usb.c: registered new driver keyboard *i dont have a USB keyb*
Jul 18 22:37:06 debian kernel: usb.c: USB device 2 (vend/prod 0x707/0x201) is not claimed by any active driver
Jul 18 22:49:02 debian kernel: pegasus.c: v0.4.18 2001/03/18 (C) 1999-2000 Petko Manolov <petkan@dce.bg>
Jul 18 22:49:02 debian kernel: pegasus.c: ADMtek AN986 Pegasus USB Ethernet driver
Jul 18 22:49:02 debian kernel: usb.c: registered new driver pegasus
Jul 19 21:43:14 debian dhclient-2.2.x: /etc/dhclient.conf line 19: semicolon expected.
Jul 19 21:43:14 debian dhclient-2.2.x: request
Jul 19 21:43:14 debian dhclient-2.2.x: ^
Jul 19 21:43:15 debian dhclient-2.2.x: Bind socket to interface: No such device
Jul 19 21:43:15 debian dhclient-2.2.x: exiting.
--
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr
Powered by Outblaze
Reply to: