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 - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2004, 07:17 PM   #1
rec
LQ Newbie
 
Registered: Mar 2004
Posts: 22

Rep: Reputation: 15
Configure ethernet adapter


I have just installed disk 1 of SuSE and am trying to figure out how to configure the ethernet adapter. My machine is sitting behind a Microsoft wireless router on one of the CAT5 ports. The router is between me and an SBC router/modem so this machine is strictly on TCP/IP to the Microsoft router. The router is using a 10.0.0.X address and these machines are using 10.0.0.X addresses.

When I use ifconfig in linux it showing me a loopback address 127.something.

How do I configure the network adapter?



I still need to download the rest of the SuSE distribution.
 
Old 03-13-2004, 11:40 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
When you type "ifconfig -a " if you don't see eth0, it means that the network card driver is not loaded . So either it is still compiled and located in /lib/modules/'uname -r'/kernel/driver/net and you just have to modprobe it. Or you have to find his driver, compile it and then insert it.
Once it is inserted you should see eth0 when you do "ifconfig -a". Then do:
ifconfig eth0 inet your.ip.address netmask your.network.mask up
route add default gw gateway.ip.address dev eth0
 
Old 03-13-2004, 11:25 PM   #3
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
also what modem do you have?
If you a new cust I bet you have the 5100B [5 lights?]
If this is so then it has the ability to do pppoe on the modem itself.

let me know.



Last edited by mossy; 03-13-2004 at 11:27 PM.
 
Old 03-14-2004, 12:44 AM   #4
rec
LQ Newbie
 
Registered: Mar 2004
Posts: 22

Original Poster
Rep: Reputation: 15
No the modem is one of the earlier ones, a Westell with four lights; power, ready, link, activity. But like I said this machine isn’t hitting the SBC modem. There is a Microsoft wireless router between me and the modem. The Microsoft router is using PPPOE on the outside and TCP/IP on the inside. In fact it’s using DHCP on the inside but I have the addresses for these machines reserved and mapped to their MAC addresses so even though it is using DHCP the addresses stay the same all the time. Anyway the SBC modem doesn’t figure into this at all. All it sees is the Microsoft router, it doesn’t see my machine.
 
Old 03-14-2004, 08:21 PM   #5
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
ok.
if you nic is actually instaleld then you should have two adapters found with ifconfig:

eth0 Link encap:Ethernet HWaddr 00:0A:E6:5F:77:91
inet addr:192.168.0.76 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:699072 errors:0 dropped:0 overruns:0 frame:0
TX packets:676233 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:157605691 (150.3 Mb) TX bytes:98124458 (93.5 Mb)
Interrupt:5 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16724888 errors:0 dropped:0 overruns:0 frame:0
TX packets:16724888 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1234526725 (1177.3 Mb) TX bytes:1234526725 (1177.3 Mb)


the first is my eth0 - my network card.
the second is lo - loopback - you should have one if these as well.

By the sound of it you did not mention eth0 so I presume the nic is not installed.
See if there is a hardware detection utility in suse that can find and install the driver.
 
Old 03-15-2004, 08:57 AM   #6
rec
LQ Newbie
 
Registered: Mar 2004
Posts: 22

Original Poster
Rep: Reputation: 15
OK I just checked again and it isn’t showing but one adapter and that is the one with the loopback address. So I guess from here I need to know how to install the NIC card. Mind you, at this point I know virtually nothing about Linux. I have been reading online tutorials and I went and bought “Linux in a Nutshell” by O’Reilly but even still I am still groping my way along, mostly with the interaction aspect of the system. The basic access and method of execution of commands.
 
Old 03-15-2004, 09:00 AM   #7
rec
LQ Newbie
 
Registered: Mar 2004
Posts: 22

Original Poster
Rep: Reputation: 15
NOTE: I have Linux installed on a clean drive and so I am switching back and forth between Linux and Windows by unplugging one drive and plugging in another drive so it takes me a few minutes to switch between systems.
 
Old 03-15-2004, 09:29 AM   #8
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
you can make the lilo bootloader you next project.

yes your nic is not installed. you can find the nic make and model if you go to device manager in windows [if xp = controlPan>system>hardware>devmanager>network adapters category.

once you find this it will not be hard to find the driver online, download it and follow the installation intructions.

NB you should first see if there is a hardware detection utility that comes with your linux distro. Most newer OS's comes with something that will detect and install the correct driver. I have not seen many that don't do it automatically.Are you using older pc/nic?
 
Old 03-15-2004, 09:57 AM   #9
rec
LQ Newbie
 
Registered: Mar 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Yes the NIC is probably two maybe three years old. It’s a Realtek RTL 8139/810x Fast Ethernet Adapter.

The Linux distribution is SuSE 9.0 and I have it using KDE 3.?

I had thought there would be some sort of auto detect but so far I haven’t figured out where it might be. I was looking online and one of the tutorials said something about un-commenting an entry in the rc.modules file.

Here is the pertinent paragraph:

Once linux is installed, it relies on a probing process to locate and identify cards. You have to help with this process. /etc/rc.d contains a file named rc.modules which has a section of probe operations for network cards. For most card types (3c503, 3c509, etc) you simply uncomment (deleted the #) the line with your comment, reboot and you are done; you will see linux recognize the card. For other cards(NE2000), you will have to include the io address in the probe command in order for linux to recognize the card.

In Windows this would be a simple mater however in Linux I am still kind of lost.
 
Old 03-15-2004, 10:16 AM   #10
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
there is a utillity off the menu somewhere. It may be in Yast/Yast2 but if you look around you should fnd it. I will search that cd when I get to work and follow up possibly tonight.
 
Old 03-15-2004, 11:08 AM   #11
rec
LQ Newbie
 
Registered: Mar 2004
Posts: 22

Original Poster
Rep: Reputation: 15
OK

I really appreciate the help.
 
Old 03-15-2004, 11:19 AM   #12
froxass
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
I had some problem

I had some problem.
modprobe 3c509 and it's OK I see one network card, bu I can't see another network card. Both are 3COM 3c509.
When I tryed to configure eth1 I gave this error: no such device.
????
 
Old 03-17-2004, 12:35 AM   #13
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
sorry I posted the info in another thread and realized today I never updated this one.

here's some links to get the driver for that nic:

http://www.realtek.com.tw/search/sea...x?search=linux


http://www.scyld.com/network/rtl8139.html
 
  


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
Cannot configure ethernet adapter soumyadas Linux - Networking 3 08-25-2005 02:06 AM
can't configure ethernet adapter mbsdad Linux - Networking 2 10-23-2003 10:47 AM
Ethernet adapter not listed... Stalkz Linux - Newbie 1 10-17-2003 11:47 PM
How do I configure a Cnet 200 Pro Ethernet adapter w/MDK 9.1 enigma Z Linux - Networking 0 10-01-2003 06:30 PM
Ethernet Adapter mprice74 Linux - Laptop and Netbook 2 09-09-2003 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:20 PM.

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