Click to See Complete Forum and Search --> : Internet Connection
Daleswanson
09-11-2003, 02:55 AM
Ok I just installed Slackware and I don't know how to go about setting up the Internet Connection. I've used Knoppix and Debian before and they both auto setup my internet, so I have no idea where to begin. I know this is probably painfully simple but I really have no idea where to even start and since I have to switch back and forth between Knoppix and Slackware to read things from the internet then try them it is very slow and anoying trying to figure it out.
I have:
Slackware 9.0
Linksys etherfast ethernet card v5
Linksys router
I know the card uses the tulip drivers, but I don't know much more.
mairving
09-11-2003, 09:10 AM
Don't expect Slack to hold your hand or to have a connection wizard. Run ifconfig and see if your card is recognized. If it is (eth0), probably the easiest thing to do is to run netconfig, tell it you are using dhcp and you should be good to go. If you didn't install dhcplient, you can insert the CD, mount it and install it.
mount /dev/cdrom
installpkg dhcl??.tgz
Daleswanson
09-11-2003, 01:48 PM
Ok I tryed that and when I ran ifconfig I got this:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOKBACK RUNNING MTU:3924 Metric:1
RX packets:128 errors:0 dropped:0 overruns:0 frame:0
TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10452 (10.2Kb) TX bytes:10452 (10.2Kb)
So I guess it's not detecting my card, but during the install it said it decteced a card. I guess how do I manulally add a card?
And as for netconfig it ask me for a hostname and a domainname and I don't know what they are it says:
First we'll need to know the name you'd like to give your hose
Only the base host name is needed right now (not the domain)
Now for that I think I can name it anything, but I want to make sure.
Next it says:
enter domainname for 'xxxx'
now, we need the domainname for this machine, such as:
example.org
do not supply a leading '.'
enter domainname for xxxx:
Now that is the one that gets me, I really don't know what to put there.
What's the output of lspci?
Daleswanson
09-11-2003, 02:33 PM
lspci gave me lots of stuff and Knoppix won't let me copy and paste so I'm going assume you just want this one line:
02:08.0 Ethernet Controller: Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev11)
If you need to see the other lines just tell me.
I did some searches for this ethernet card, the driver it's supossed to be "tulip".
modprobe tulip
If you don't get any errors... edit your /etc/rc.d/rc.modules file and uncomment the "/sbin/modprobe tulip" line so the module gets loaded at boot.
Now you can configure your network, you can do this manually or running netconfig as well.
Daleswanson
09-11-2003, 03:20 PM
modprobe tulip gives me this:
modprobe: Can't open depenencies file /lib/modules/2.2.20-idepci/modules.dep (No such file or directory)
I went in and uncommented the tulip driver, and rebooted then tried to do modprobe, the netconfig and the ifconfig again, none were any different.
saturn-vk
09-12-2003, 08:04 AM
Just run netconfig. The Hostname is the name of your computer(what do you call it, it might/not be used by the network, and it certainly wont be used by samba, so it does not matter that much). The Domain is a domain, or if you dont have a domain, just put the workgroup or whatever you like, you might leave it empty if you want. It might detect your card (i've installed slackware on 5 computers so far, and it has on all of them).
as for the dependency stuff, try running depmod -a and see what happens.
and what's with the 2.2.20??? Slackware 9 uses the 2.4.20 kernel, so the directory should be /lib/modules/2.4.20-xxxxxx/. There's something really wrong with your install. You should check that first before anything, check what kernel version you have running too, and be prepared to compile a new kernel (better than reinstalling)
Daleswanson
09-12-2003, 05:32 PM
Ok well the odd kernal was because I was booting from a bootdisk that was old, I didn't even realize it. I thought it was the one that I had made during the install, so yeah I'm very dumb. I got the right boot disk and everything fine now. Sorry for wasting your time.