LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-30-2004, 09:13 PM   #1
peaceslp
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Rep: Reputation: 15
Linux Drivers


I have just installed Slackware 10. My problem is that it wont recognize my network card. I opened up the linux kernel with all the modules. I noticed that the module for my nic is there, is there something i need to do to get it to work? If i was reading right I need the lisa? daemon running to connect, and when I tried to set it up it said it couldnt find a card. Any ideas, thanks.

P.S. If you do have any help, im not familiar with linux's command line interface, so please be specific if you could. Thanks
 
Old 11-30-2004, 09:17 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Which network card (make, model) do you have ?

Cheers,

mj
 
Old 11-30-2004, 09:19 PM   #3
peaceslp
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Its a national semiconductor, model DP83815 10-100 mbit
 
Old 11-30-2004, 09:29 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Yes, it's supported. As far as I can tell, the module it uses is natsemi. So you could always run <grep natsemi /etc/modules> and/or lsmod | grep natsemi and see if it's there.

It may just be a matter of running something along the lines of <ifconfig eth0 up> though.
 
Old 11-30-2004, 09:44 PM   #5
peaceslp
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
when i ran lsmond | grep natsemi,
natsem 15840 1
crc32 2880 0 [natsemi]

when i ran ifconfig eth0 up
-it didnt show anything?

Thanks for the help so far

Edit: I ran ifconfig eth0, it shown some stuff, didnt know if it would help. Im also assuming since i cant ping a server like yahoo.com and i cant use the browser, i have no access to the internet, thats how im testing the connection.

Last edited by peaceslp; 11-30-2004 at 09:56 PM.
 
Old 12-01-2004, 02:47 PM   #6
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
After running ifconfig eth0 up, what is the output of running ifconfig (as-is) ?
 
Old 12-01-2004, 04:48 PM   #7
peaceslp
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
It shows that eth0 is up and running, same with lo ( callback) is running too. Do you need more specifics?
Thanks
 
Old 12-01-2004, 05:12 PM   #8
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Sounds like it might be a dns name resolution problem. Can you ping individual ip addresses (e.g. 216.239.39.99 www.google.com) ?

In your /etc/resolv.conf you should have your primary and secondary dns ip addresses, e.g.
Code:
nameserver xxx.xxx.xxx.xx
nameserver yyy.yyy.yyy.yy
Cheers,

mj
 
Old 12-01-2004, 05:17 PM   #9
peaceslp
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
I have tried pinging before, I tried www.yahoo.com, it couldnt find it (no dns lookup-dns error, or something of that nature), and i pinged the callback address to make sure things were working, and they were.

Edit: I looked in /etc/resolv.conf it only had (search example.net) so im assuming i need to change that, and if i do, is there a certain format?
Thanks

Last edited by peaceslp; 12-01-2004 at 05:24 PM.
 
Old 12-01-2004, 05:26 PM   #10
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Yes, see previous post, above...
 
Old 12-01-2004, 05:33 PM   #11
peaceslp
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Umm, I opened that up with Konqueror, and I cant type anything in the resolv.conf file. Do I have to use the konsole to change the dns servers. I can only change the directory to /etc/. I know this may sound stupid, but I really dont know how to get around this os yet. Thanks, for your patience
 
Old 12-01-2004, 05:41 PM   #12
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
The best method is to use the command line, as it's fairly standard across distributions. GUI's are great, but they do differ depending on the flavour of the month

Right, hopefully you have the Vim editor installed, so open up a terminal (any one will do) and here goes:
Code:
su
   (enter root password)
cd /etc
vim resolv.conf              (opens the resolv.conf file using Vim)
Now, move the cursor down to the line after the one beginning with "Search" (or the end of it) using the arrow keys, and press "i" to get into "insert" mode. Now type the nameserver keyword and the ip addresses, as per above. When you're finished, press the [ESCAPE] key to return to "control" mode, and then type ":wq" to write the file, and then quit. (Without the speech marks, but including the colon).

Now, try using the network again.
 
Old 12-01-2004, 05:50 PM   #13
peaceslp
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Well, I didnt use the konsole, i just ran /etc/resolv.conf with the run command. By the way Im using kde. I opend it up like you said with vim in the konsole and checked to make sure the dns was there, it was. It had "nameserver 192.150.175.93". Thats the only dns server i know of, im on a school network. Would it make a difference if im using a router, I took the dns ip off of my router. There was only one. I tried no luck so far. Do i need to restart?
 
Old 12-01-2004, 05:57 PM   #14
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Quote:
Originally posted by peaceslp
I looked in /etc/resolv.conf it only had (search example.net) so im assuming i need to change that, and if i do, is there a certain format?
This contradicts
Quote:
checked to make sure the dns was there, it was. It had "nameserver 192.150.175.93".
Do you mean that you *added* the dns ip address to the previously nearly empty file ?
 
Old 12-01-2004, 06:00 PM   #15
peaceslp
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Yes, thats the dns I added, I was also wondering, do i have to set up for dhcp. I have a router and my router connects to the school network. So my computer would get the ip assigned from my router, but i didnt know if i needed to do some configurations with that. Sorry not being specific.

Edit: I also tried to connect to my router, it said it couldnt connect to the network with a direct connection from my computer to the router.

Last edited by peaceslp; 12-01-2004 at 06:05 PM.
 
  


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
Drivers for Linux Mr. Hill Linux - Newbie 5 02-15-2005 06:11 AM
Drivers with linux alexr186 Linux - Software 2 12-19-2003 04:32 PM
Linux Drivers Omer Linux - Hardware 1 09-14-2003 10:37 PM
VIA 4 in 1 drivers for Linux? ludwig W Linux - Software 8 04-15-2003 06:28 AM
Linux drivers musicman_ace Linux - General 1 05-04-2001 12:45 PM

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

All times are GMT -5. The time now is 05:34 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