LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-13-2005, 04:41 PM   #1
Hrothgar15
Member
 
Registered: Aug 2005
Posts: 36

Rep: Reputation: 15
Can't connect to the internet with cable modem and SUSE 9.1


Can anyone help me in setting up my Ethernet network card to be able to connect to the Internet? If it helps, I'm on a Dell Dimension 9100 running SUSE 9.1 with KDE. Using the Internet works fine with windows. The ethernet cable connects from the computer to a router (which also has the cable of my other computer), and the router is connected to the cable modem. Thanks in advance.
 
Old 08-13-2005, 05:34 PM   #2
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
First of all we need to check that the nic is receiving an IP address from the router.

Issue the following command as root:

ifconfig
 
Old 08-13-2005, 05:49 PM   #3
Hrothgar15
Member
 
Registered: Aug 2005
Posts: 36

Original Poster
Rep: Reputation: 15
OK, I did that, and it says the following:

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
RX packets:318 errors:0 dropped:0 overruns:0 frame:0
TX packets:318 errors:0 dropped: 0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes: 20418 (19.9 Kb) TX bytes:20418 (19.9 Kb)

Also, I've gone to Control Center and went to "Network Devices," and it recognizes my network card and says it configures. However, I can't connect to the Internet. Thanks in advance.
 
Old 08-13-2005, 05:54 PM   #4
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Ok, the problem is that the network card actually isn't configured even though YaST may say it is. Try deleting the network card and then reconfiguring it.

This problem usually occrus when the network card is different from the last configuration. I always have this problem at school when I change computers using my removable hard drive. SuSE has this naming convention where the device file name for the NIC contains the MAC address so that you can't use a different NIC with it.

Anyways, give that a shot and let us know.
 
Old 08-13-2005, 07:38 PM   #5
Hrothgar15
Member
 
Registered: Aug 2005
Posts: 36

Original Poster
Rep: Reputation: 15
Alright, I tried that (removed it from the list, YaST found it again, and I reconfigured) but still no luck. Any ideas? I'm really starting to worry. I mean, I was able to connect so easily with Windows, not so with Linux.
 
Old 08-13-2005, 11:15 PM   #6
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
After setting it up again does ifconfig show the network card? If not, try typing ifconfig -a to query all network cards that Linux detects.
 
Old 08-14-2005, 03:49 AM   #7
cdat
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Angry

hey m experiencin d same problems
windows just seems 2 b a lot better than linux now
 
Old 08-14-2005, 03:54 AM   #8
cdat
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
hey do ul kno abt ny version of linux tat is much better at n/ws and d site i can download it from thanx ppl
 
Old 08-14-2005, 09:05 AM   #9
Hrothgar15
Member
 
Registered: Aug 2005
Posts: 36

Original Poster
Rep: Reputation: 15
There are two entries, lo and sit0. Is this good?
 
Old 08-14-2005, 08:27 PM   #10
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
This is not good. ifconfig -a should have returned an entry for your NIC. What does YaST list your network card as (ie: manufacturer, type). We should probably verfiy that SuSE supports that NIC. Usually, if it can recognize the name then it should support it.

The only other thing I can think of is to try configuring the card manually by typing in as root:

ifconfig eth0 192.168.1.100

You should use an IP address that won't be assigned by the DHCP server to avoid a conflict. After running that command try ifconfig -a again and test if you can get on the Internet.
 
Old 08-15-2005, 10:01 AM   #11
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
My router acts as a dhcp server, so to get an ip address from it I have in /etc/rc.d/rc.local the following:
Code:
 /sbin/dhcpcd eth0
That's with Slackware, I'm not sure if the local startup config file is the same with SUSE.
 
Old 08-15-2005, 08:55 PM   #12
Hrothgar15
Member
 
Registered: Aug 2005
Posts: 36

Original Poster
Rep: Reputation: 15
Hmm...I tried ifconfig eth0 192.168.0.100, but it doesn't recognize the interface of eth0.

YaST recognizes my newtork card as an ATI Ethernet Controller? Is this good? Also, does this have anything to do with a driver that I have to install?
 
Old 08-15-2005, 11:23 PM   #13
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Does ATI even make NICs? I don't think they do so it Linux may have mis-detected it. I assume this is a built-in NIC on the M/B?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to the internet using cable modem and SUSE 9.1. Hrothgar15 Linux - Newbie 4 08-17-2005 02:06 AM
How to connect to the internet with cable modem and SUSE 9.1? Hrothgar15 Linux - Newbie 1 08-13-2005 09:09 PM
Cable Modem - Problems configuring to connect to internet gevers1 Linux - Networking 13 01-17-2004 12:44 PM
Can't connect to internet via cable modem jaydoubleyou Linux - Newbie 2 09-16-2003 09:02 AM
Cannot connect to internet with cable modem debPandra Linux - Distributions 5 07-03-2002 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration