Networking Forums

Networking Forums > Computer Networking > Linux Networking > Accessing internet via cable modem

Reply
Thread Tools Display Modes

Accessing internet via cable modem

 
 
charles leviton
Guest
Posts: n/a

 
      01-20-2004, 03:35 AM
Hi guys,
I have loaded RH 7.2 on my old HP Pavilion. Got it working as far as
desktop apps and so on. I want to connect to the web via my
RoadRunner. I did some looking around and it looks like
a) I need to enable ethernet connectivity on my PC
b) enable DHCP
c) connect to the modem.

Is this OK?

If so then I have 2 ethernet cards on my PC. One is a LinkSys that
was there already when I used to have Win 98 on this PC and other is a
3Com card I just put in

Q1) What is the procedure to install Linux drivers for these cards? I
have a book Mastering Red Hat Linux and all it says I have to "install
the hardware according to instructions that came with the card" But I
am woefully short of instructions and the "Ethernet How-to" is not
very clear about this

Q2) After this do I have to do the kernel configurator deal of adding
eth0 and eth1?

Q3 Is there anything special to do reg enabling ethernet connectivity
or is it just choosing that in the network configuration window?

Q4) My modem is connected to a router to which I already have an XP
box connected. Do I need to do anything special 'cos I have a router
or can I connect the card to the router without any extra
configurations?

I would like to say that I am not trying to take the easy way out
here, I have read lots of stuff online but I don't seem to have found
the right answers especially for Q1.

Thanks
 
Reply With Quote
 
 
 
 
horsager(at)comcast(dot)net
Guest
Posts: n/a

 
      01-20-2004, 04:25 AM
Are you sure that you need to install drivers for your cards? Maybe
your leaving some things out, but it seems like your making the whole
process harder than it needs to be.

1. What is the output of ifconfig?
(# ifconfig)

2. Are the cards being recognized at boot?
(# dmesg | grep eth)

Try the above commands as root and post the output.

Jeff

charles leviton wrote:
> Hi guys,
> I have loaded RH 7.2 on my old HP Pavilion. Got it working as far as
> desktop apps and so on. I want to connect to the web via my
> RoadRunner. I did some looking around and it looks like
> a) I need to enable ethernet connectivity on my PC
> b) enable DHCP
> c) connect to the modem.
>
> Is this OK?
>
> If so then I have 2 ethernet cards on my PC. One is a LinkSys that
> was there already when I used to have Win 98 on this PC and other is a
> 3Com card I just put in
>
> Q1) What is the procedure to install Linux drivers for these cards? I
> have a book Mastering Red Hat Linux and all it says I have to "install
> the hardware according to instructions that came with the card" But I
> am woefully short of instructions and the "Ethernet How-to" is not
> very clear about this
>
> Q2) After this do I have to do the kernel configurator deal of adding
> eth0 and eth1?
>
> Q3 Is there anything special to do reg enabling ethernet connectivity
> or is it just choosing that in the network configuration window?
>
> Q4) My modem is connected to a router to which I already have an XP
> box connected. Do I need to do anything special 'cos I have a router
> or can I connect the card to the router without any extra
> configurations?
>
> I would like to say that I am not trying to take the easy way out
> here, I have read lots of stuff online but I don't seem to have found
> the right answers especially for Q1.
>
> Thanks


 
Reply With Quote
 
Chuck Leviton
Guest
Posts: n/a

 
      01-20-2004, 11:25 PM
Thanks for the reply. I have done as you suggested.

"horsager(at)comcast(dot)net" <"horsager(at)comcast(dot)net"> wrote in
message news:9tednUOXLa5YJpHdRVn-(E-Mail Removed)...
> Are you sure that you need to install drivers for your cards? Maybe
> your leaving some things out, but it seems like your making the whole
> process harder than it needs to be.
>
> 1. What is the output of ifconfig?
> (# ifconfig)


ifconfig returns a bunch of information. I will try and reproduce it as
faithfully as I can
lo link encap:local loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOBACK RUNNING MTU:3924 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

> 2. Are the cards being recognized at boot?
> (# dmesg | grep eth)

I think the answer is no, this command returned nothing. I just ran "dmesg"
by itself and the output's last line is
"Adding swap:.....". I think the eth0 would come after this, right?

So what do I need to do to make it recognise the cards? I had earlier
followed the instructions in the book on "Installing and setting Up a
network card" as follows
a) Start control panel,
b) launch kernel daemon configuration applet,
c) add a module of type eth
d) chose module of 3c509 for the 3Com card as I saw the following
information on the card viz. 3C509B-TP0
e) chose module of tulip for the LinkSys card (I think I saw that on the
Ethernet HOW-TO site)
f) restarted the kernel as per instructions. I got a message Starting
kerneld version 2.1.121 and nothing further happened after that
g) After some time I got fed up and rebooted
>
> Try the above commands as root and post the output.
>
> Jeff
>
> charles leviton wrote:
> > Hi guys,
> > I have loaded RH 7.2 on my old HP Pavilion. Got it working as far as
> > desktop apps and so on. I want to connect to the web via my
> > RoadRunner. I did some looking around and it looks like
> > a) I need to enable ethernet connectivity on my PC
> > b) enable DHCP
> > c) connect to the modem.
> >
> > Is this OK?
> >
> > If so then I have 2 ethernet cards on my PC. One is a LinkSys that
> > was there already when I used to have Win 98 on this PC and other is a
> > 3Com card I just put in
> >
> > Q1) What is the procedure to install Linux drivers for these cards? I
> > have a book Mastering Red Hat Linux and all it says I have to "install
> > the hardware according to instructions that came with the card" But I
> > am woefully short of instructions and the "Ethernet How-to" is not
> > very clear about this
> >
> > Q2) After this do I have to do the kernel configurator deal of adding
> > eth0 and eth1?
> >
> > Q3 Is there anything special to do reg enabling ethernet connectivity
> > or is it just choosing that in the network configuration window?
> >
> > Q4) My modem is connected to a router to which I already have an XP
> > box connected. Do I need to do anything special 'cos I have a router
> > or can I connect the card to the router without any extra
> > configurations?
> >
> > I would like to say that I am not trying to take the easy way out
> > here, I have read lots of stuff online but I don't seem to have found
> > the right answers especially for Q1.
> >
> > Thanks

>



 
Reply With Quote
 
horsager(at)comcast(dot)net
Guest
Posts: n/a

 
      01-21-2004, 03:59 AM
Chuck Leviton wrote:
> Thanks for the reply. I have done as you suggested.
>
> "horsager(at)comcast(dot)net" <"horsager(at)comcast(dot)net"> wrote in
> message news:9tednUOXLa5YJpHdRVn-(E-Mail Removed)...
>
>>Are you sure that you need to install drivers for your cards? Maybe
>>your leaving some things out, but it seems like your making the whole
>>process harder than it needs to be.
>>
>>1. What is the output of ifconfig?
>>(# ifconfig)

>
>
> ifconfig returns a bunch of information. I will try and reproduce it as
> faithfully as I can
> lo link encap:local loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOBACK RUNNING MTU:3924 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
>


That's the loopback interface. What you wanted to see are references to
eth0 and eth1 (you said you had two cards installed). This, in itself,
doesn't necessarily mean they aren't recognized.

You are able to cut and paste output from the terminal, I feel for you
if you entered the above by hand.

>
>>2. Are the cards being recognized at boot?
>>(# dmesg | grep eth)

>
> I think the answer is no, this command returned nothing. I just ran "dmesg"
> by itself and the output's last line is
> "Adding swap:.....". I think the eth0 would come after this, right?
>


The first command should have caught any references to ethernet cards if
they were recognized at boot. Here is an example of what you're looking
for (or some variation):

e100: eth0: Intel(R) PRO/100 Network Connection
e100: eth0 NIC Link is Up 100 Mbps Full duplex

The e100 is the module and the eth0 is the nic. You say you're running
RedHat? Have you tried to configure them through the gui tool?


> So what do I need to do to make it recognise the cards? I had earlier
> followed the instructions in the book on "Installing and setting Up a
> network card" as follows
> a) Start control panel,
> b) launch kernel daemon configuration applet,
> c) add a module of type eth
> d) chose module of 3c509 for the 3Com card as I saw the following
> information on the card viz. 3C509B-TP0
> e) chose module of tulip for the LinkSys card (I think I saw that on the
> Ethernet HOW-TO site)
> f) restarted the kernel as per instructions. I got a message Starting
> kerneld version 2.1.121 and nothing further happened after that
> g) After some time I got fed up and rebooted
>


WTF? You can see if modules are loaded by running:

# lsmod

And insert them with:

# modprobe <module-name>

If you see no references to hardware in the tab of the gui tool, please
post the output to the following commands:

# lspci

# lsmod

And just for kicks:

# cat /etc/modules.conf

(remember, cut and paste)


Jeff


>>Try the above commands as root and post the output.
>>
>>Jeff
>>
>>charles leviton wrote:
>>
>>>Hi guys,
>>>I have loaded RH 7.2 on my old HP Pavilion. Got it working as far as
>>>desktop apps and so on. I want to connect to the web via my
>>>RoadRunner. I did some looking around and it looks like
>>>a) I need to enable ethernet connectivity on my PC
>>>b) enable DHCP
>>>c) connect to the modem.
>>>
>>>Is this OK?
>>>
>>>If so then I have 2 ethernet cards on my PC. One is a LinkSys that
>>>was there already when I used to have Win 98 on this PC and other is a
>>>3Com card I just put in
>>>
>>>Q1) What is the procedure to install Linux drivers for these cards? I
>>>have a book Mastering Red Hat Linux and all it says I have to "install
>>>the hardware according to instructions that came with the card" But I
>>>am woefully short of instructions and the "Ethernet How-to" is not
>>>very clear about this
>>>
>>>Q2) After this do I have to do the kernel configurator deal of adding
>>>eth0 and eth1?
>>>
>>>Q3 Is there anything special to do reg enabling ethernet connectivity
>>>or is it just choosing that in the network configuration window?
>>>
>>>Q4) My modem is connected to a router to which I already have an XP
>>>box connected. Do I need to do anything special 'cos I have a router
>>>or can I connect the card to the router without any extra
>>>configurations?
>>>
>>>I would like to say that I am not trying to take the easy way out
>>>here, I have read lots of stuff online but I don't seem to have found
>>>the right answers especially for Q1.
>>>
>>>Thanks

>>

>
>


 
Reply With Quote
 
horsager(at)comcast(dot)net
Guest
Posts: n/a

 
      01-21-2004, 05:45 AM
Chuck,

You are welcome to email me if you like.

Jeff

horsager(at)comcast(dot)net wrote:
> Chuck Leviton wrote:
>
>> Thanks for the reply. I have done as you suggested.
>>
>> "horsager(at)comcast(dot)net" <"horsager(at)comcast(dot)net"> wrote in
>> message news:9tednUOXLa5YJpHdRVn-(E-Mail Removed)...
>>
>>> Are you sure that you need to install drivers for your cards? Maybe
>>> your leaving some things out, but it seems like your making the whole
>>> process harder than it needs to be.
>>>
>>> 1. What is the output of ifconfig?
>>> (# ifconfig)

>>
>>
>>
>> ifconfig returns a bunch of information. I will try and reproduce it as
>> faithfully as I can
>> lo link encap:local loopback
>> inet addr:127.0.0.1 Mask:255.0.0.0
>> UP LOOBACK RUNNING MTU:3924 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>>

>
> That's the loopback interface. What you wanted to see are references to
> eth0 and eth1 (you said you had two cards installed). This, in itself,
> doesn't necessarily mean they aren't recognized.
>
> You are able to cut and paste output from the terminal, I feel for you
> if you entered the above by hand.
>
>>
>>> 2. Are the cards being recognized at boot?
>>> (# dmesg | grep eth)

>>
>>
>> I think the answer is no, this command returned nothing. I just ran
>> "dmesg"
>> by itself and the output's last line is
>> "Adding swap:.....". I think the eth0 would come after this, right?
>>

>
> The first command should have caught any references to ethernet cards if
> they were recognized at boot. Here is an example of what you're looking
> for (or some variation):
>
> e100: eth0: Intel(R) PRO/100 Network Connection
> e100: eth0 NIC Link is Up 100 Mbps Full duplex
>
> The e100 is the module and the eth0 is the nic. You say you're running
> RedHat? Have you tried to configure them through the gui tool?
>
>
>> So what do I need to do to make it recognise the cards? I had earlier
>> followed the instructions in the book on "Installing and setting Up a
>> network card" as follows
>> a) Start control panel,
>> b) launch kernel daemon configuration applet,
>> c) add a module of type eth
>> d) chose module of 3c509 for the 3Com card as I saw the following
>> information on the card viz. 3C509B-TP0
>> e) chose module of tulip for the LinkSys card (I think I saw that on the
>> Ethernet HOW-TO site)
>> f) restarted the kernel as per instructions. I got a message Starting
>> kerneld version 2.1.121 and nothing further happened after that
>> g) After some time I got fed up and rebooted
>>

>
> WTF? You can see if modules are loaded by running:
>
> # lsmod
>
> And insert them with:
>
> # modprobe <module-name>
>
> If you see no references to hardware in the tab of the gui tool, please
> post the output to the following commands:
>
> # lspci
>
> # lsmod
>
> And just for kicks:
>
> # cat /etc/modules.conf
>
> (remember, cut and paste)
>
>
> Jeff
>
>
>>> Try the above commands as root and post the output.
>>>
>>> Jeff
>>>
>>> charles leviton wrote:
>>>
>>>> Hi guys,
>>>> I have loaded RH 7.2 on my old HP Pavilion. Got it working as far as
>>>> desktop apps and so on. I want to connect to the web via my
>>>> RoadRunner. I did some looking around and it looks like
>>>> a) I need to enable ethernet connectivity on my PC
>>>> b) enable DHCP
>>>> c) connect to the modem.
>>>>
>>>> Is this OK?
>>>>
>>>> If so then I have 2 ethernet cards on my PC. One is a LinkSys that
>>>> was there already when I used to have Win 98 on this PC and other is a
>>>> 3Com card I just put in
>>>>
>>>> Q1) What is the procedure to install Linux drivers for these cards? I
>>>> have a book Mastering Red Hat Linux and all it says I have to "install
>>>> the hardware according to instructions that came with the card" But I
>>>> am woefully short of instructions and the "Ethernet How-to" is not
>>>> very clear about this
>>>>
>>>> Q2) After this do I have to do the kernel configurator deal of adding
>>>> eth0 and eth1?
>>>>
>>>> Q3 Is there anything special to do reg enabling ethernet connectivity
>>>> or is it just choosing that in the network configuration window?
>>>>
>>>> Q4) My modem is connected to a router to which I already have an XP
>>>> box connected. Do I need to do anything special 'cos I have a router
>>>> or can I connect the card to the router without any extra
>>>> configurations?
>>>>
>>>> I would like to say that I am not trying to take the easy way out
>>>> here, I have read lots of stuff online but I don't seem to have found
>>>> the right answers especially for Q1.
>>>>
>>>> Thanks
>>>
>>>

>>
>>

>


 
Reply With Quote
 
charles leviton
Guest
Posts: n/a

 
      01-25-2004, 04:20 PM
Thanks to Jeff's help, I have been able to hook up to the internet.
The router didn't really play any part in it. Once he painstakingly
stepped me thru the concepts of conf.modules, insmod, the differences
between ISA and PCI, and finally pump it worked.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem accessing internet via cable modem in RH 8.0 shayan Linux Networking 0 01-23-2004 12:23 PM
DSL vs Cable modem ---what is difference when connecting to internet? Robb Linux Networking 9 01-09-2004 02:56 PM
Loss of internet connection via cable modem J Cosse Windows Networking 3 12-03-2003 04:58 AM
Internet connection with cable modem + AP Lukashimmelslaeufer Wireless Internet 3 11-02-2003 11:06 PM
networkin/internet through cable modem/router Nathan Windows Networking 3 07-03-2003 11:24 PM



1 2 3 4 5 6 7 8 9 10 11