Computer ForumsComputers  

Go Back   Computer Forums > PC Technology Zone > Linux, BSD, other *nixes & Open Source Software

Reply
 
LinkBack Thread Tools Display Modes
Old 10-16-2005, 10:52 PM   #1 (permalink)
Wizard Techie
 
Join Date: Mar 2004
Posts: 3,546
Default How do I get my ethernet working?

Ok, my motherboard below has a built in network NIC thing. I am in windows and it's connected to my Router and it works.

The router is a DWL 620 and I need to know how to set my internet sharing up in linux. Slackware 10.2...

Again, it's another computer that is connected to the router and I am trying to connect to the router with my cat5 in linux.
__________________
15'' Macbook Pro
Intel Core 2 Duo 2.16ghz
x1600 128MB
1GB DDR2 SDRAM
Windows XP/Mac OSX 10.5


No longer a Guru of games...
GameGURU is offline   Reply With Quote
Old 10-16-2005, 11:07 PM   #2 (permalink)
Master Techie
 
Join Date: Apr 2004
Posts: 2,532
Default

dhcp or static?

does the kernel detect your NIC, check with dmesg | more

ifconfig w/o options will show network status

if your NIC is detected and the kernel module for it is loaded which you can check with lsmod, then as root type netconfig and answer the questions that follow

all the above commands need to done as root
horndude is offline   Reply With Quote
Old 10-16-2005, 11:24 PM   #3 (permalink)
Indeed.
 
Greg's Avatar
 
Join Date: Dec 2004
Posts: 1,531
Default

Also, make sure your router is allowing your computers MAC adress.
__________________
Greg is offline   Reply With Quote
Old 10-17-2005, 08:09 PM   #4 (permalink)
Wizard Techie
 
Join Date: Mar 2004
Posts: 3,546
Default

Hmm...I really don't know if it's detected.

Slackware is confusing me

I have done netconfig like 4 times and altered all of the settings as many times with no luck.

I am connected to a router which allows my MAC...
__________________
15'' Macbook Pro
Intel Core 2 Duo 2.16ghz
x1600 128MB
1GB DDR2 SDRAM
Windows XP/Mac OSX 10.5


No longer a Guru of games...
GameGURU is offline   Reply With Quote
Old 10-17-2005, 08:41 PM   #5 (permalink)
Indeed.
 
Greg's Avatar
 
Join Date: Dec 2004
Posts: 1,531
Default

Im not familliar with Slackware, but for Ubuntu I went: System > Administration > Networking > Select eth0 > Activate > Properties > 'This Device is configured' (checked) > DHCP selected

Then, to get the MAC adress I went into the network monitor and typed in eth0 and it showed me the MAC and info about the packets.

Hope that helps,
~Greg
__________________
Greg is offline   Reply With Quote
Old 10-17-2005, 08:52 PM   #6 (permalink)
Wizard Techie
 
Join Date: Mar 2004
Posts: 3,546
Default

Well, I guess I can put Kubuntu on again.
__________________
15'' Macbook Pro
Intel Core 2 Duo 2.16ghz
x1600 128MB
1GB DDR2 SDRAM
Windows XP/Mac OSX 10.5


No longer a Guru of games...
GameGURU is offline   Reply With Quote
Old 10-17-2005, 11:28 PM   #7 (permalink)
Master Techie
 
Join Date: Apr 2004
Posts: 2,532
Default

log in as root in a terminal and type:

dmesg | more --------scroll thru that and see if it shows an ethernet card
lspci --------that will show all pci devices detected
lsmod -------shows all kernel modules loaded, you need one for the NIC
ifconfig -------with no options it will show network hardware status including MAC address--if the NIC module is loaded and its up it will show all that stuff
modprobe XXXX -------XXXX is a kernel module, modprobe attempts to load a kernel module, what NIC do you have?


I will tell also that with linux, you can go thru 100 different distros and its gonna be the same story, at some point you will have to learn the command line, reinstall/reformat doesnt fix anything, it isnt windows
once your ethernet is detected and working you can setup your network with netconfig

it isnt complicated, but with slackware the easiest and quickest way to get somethings done is the commandline, dont be afraid of it, its an incredibly useful tool........I will ne honest with you here, if you dont want to use it you dont HAVE to, but you arent gonna have fun with linux without it
horndude is offline   Reply With Quote
Old 10-18-2005, 06:45 PM   #8 (permalink)
Wizard Techie
 
Join Date: Mar 2004
Posts: 3,546
Default

Oh, I know how to use the CLI well enough. I have done alot of wireless stuff in SuSE, built things and installed/uninstalled via the CLI.

I just have NO idea on the networking portion...

What do I modprobe? My NIC's name or eth0?

My NIC is a built in nvidia LAN controller.
__________________
15'' Macbook Pro
Intel Core 2 Duo 2.16ghz
x1600 128MB
1GB DDR2 SDRAM
Windows XP/Mac OSX 10.5


No longer a Guru of games...
GameGURU is offline   Reply With Quote
Old 10-18-2005, 07:34 PM   #9 (permalink)
Master Techie
 
Join Date: Apr 2004
Posts: 2,532
Default

modprobe followed by the needed driver or kernel module, example:
modprobe 3c509 -----that would load the 3c509 kernel module for 3com509 based cards

the available kernel modules can be found in /usr/src/linux/drivers/net I believe, no suffix needed, just the first part.usually they are very small little programs written in c, they usually have "c" for a suffix.

dunno which one the nvidia LAN controller needs...I just checked the list, no nvidia module by the name nvidia, but that doesnt mean anything, you may have to google or check elsewhere to find out which one it is.....possibly compile one from source
horndude is offline   Reply With Quote
Old 10-18-2005, 07:40 PM   #10 (permalink)
Master Techie
 
Join Date: Apr 2004
Posts: 2,532
Default

http://www.nvidia.com/object/linux_nforce_1.0-0292

try that----- linuxquestions.org if you search the slackware forum for nforce NIC driver has a few entries to look at
horndude is offline   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 On



All times are GMT -5. The time now is 11:39 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0