On Wednesday 29 January 2003 21:42, David Harel wrote:
> Alex,
>
> I posted a message to you and the group regarding my findings about the
> cable modem (attached below)
I saw it, I just had no time to answer, sorry.
>
> Since I did not receive any reply I presumed I failed to send it. Could you
> verify that you got it and can you figure out how to help me in this
> matter?
>
> The updated request.
> Thanks everyone who replied, (it always gets me by a surprise that so many
> people are kind enough to
> spend their time and answer)
>
> OK, things are a little more difficult.
>
> To begin, with I failed to describe my machine. It is an HP omnibook
> laptop. It has network card built
> into it and a single USB port to which I hooked a USB HUB. I am running
> Linux RH 8.0.
> Since I jammed the linux installation I reinstalled everything from scratch
> (while the cable modem is
> connected to the USB via the HUB).
> In the installation process I was prompted for eth0 only. I gave it IP
> address 10.0.0.1
>
> It took me a while to figure out that after boot, eth0 is the USB cable
> modem. I was not able to
> reference eth1 at all.
The following in /etc/modules.conf may help

alias eth0 the_built_in_network_card_driver
alias eth1 CDCEther

>
> What I do to make it work is:
>
>    1.Stop network operations by the command:  /etc/init.d/network stop
>    2.Disconnect the cable modem from  the USB hub.
>    3.Start eth0 manually by the command:  ifconfig eth0 10.0.0.1 netmask
> 255.255.255.0 up
>    4.Reconnect the cable modem to the USB hub.
>    5.I fiddle a little with the start/stop of /etc/init.d/network and
> vualla. eth0 is the network card and
>      eth1 is the usb cable modem.
>
> I would like it to go smoothly on boot time without fiddling that much.
> Also I would like to figure out
> which eth? is to which physical hardware thing.
Driver that detects its hardware first ( meaning usually driver that is loaded 
first, except USB, PCMCIA and other hotplugs ), gets eth0. And I HATE THIS 
WAY, as it doesn't play well with hotplugging. This stupidity should have 
been improved before long.
> I tried to use modprobe -c and got that eth0 is an alias to something.
To what exactly?
>
> below are the files ifcfg-eth[01]
> eth0:
>
>      DEVICE=eth0
>      IPADDR=10.0.0.1
>      NETMASK=255.255.255.0
>      NETWORK=10.0.0.0
>      ONBOOT=yes
>      NAME=eth0
>
Seems to be all right.
> eth1:
>
>      DEVICE=eth1
>      BOOTPROTO=dhcp
>      ONBOOT=yes
Seems to be all right too.
>

-- 

Regards,
Alex Chudnovsky
e-mail : [EMAIL PROTECTED]
ICQ : 35559910


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to