slackware11 no internet conection, desperately
hello,
i am delighted to have obtained slackware 11 for the first tim and am ecited by its stability and behaviour, but have a little problem with connection to the internet. during the installation network configuration, it found my network card to be VIA Technologies, KM400-8235. i really love this copy of linux ditro so please whatever you do but don't say go back to your cr**ky windows XP. i really need a quick solution if possible, thank you. |
Hi welcome to Linux Questions and Slackware.
Could you paste seperately inside the code tags, the output of these three commands ? lspci lsmod ifconfig And also describe how you are connected to the network. Also did you set a static ip or dynamic? |
hi here i post the output:
Quote:
Quote:
Quote:
|
i hope the output would eplain some thing so that i can get some advices accordingly.
tank you, i appreciate your answers |
Hello, the module for your network card is loaded. How are you connected to the network, are you plugged directly into a router or a cable modem? And did you set a static ip address or did you try to do dynamic during setup?
What does Code:
ifconfig eth0 up If you want you can run Code:
netconfig |
Quote:
i also tried the above trial and the following iswhat i got: 1/netconfig: i went through the configurations and set it to DHCP 2/ typed ifconfig eth0 up and the output is this: EthO: ERROR while setting interface flags: no such devicei just remembered that i always notice some fatal error pop ups during the installation process, i have also tried different CDs and copies but still the same< therefore i am abolutely clueless. good luck, looking forward to see your replies they will really benefit me . |
Hi, make sure you type eth0 as in zero and not O. Hmm fatal errors certainly are not good, good you be more specific and tell at what point it fails and what error message is recieved (is this during network setup)?
|
Quote:
in terms of the error messages they show during the package installations not during the network configuration. thank you. slemany |
Ok this is perplexing me now.
If you can, please reboot. (usually shouldn't have too but sometimes it helps :\) And then immediately following, post the out put of ifconfig -a And please do explain how you are connected to the network and what should be providing you an ip address. Not that this is super relevant if you are getting a device not found error, but one the less will help in troubleshooting. Also just for giigles paste the output of. dhcpcd eth0 |
Quote:
hi, i am connected through a cable modem, and interms of the commands here is what the outputs: bash-3.1# ifconfig-a bash: ifconfig-a: command not found bash-3.1# dhcpcd eth0 bash-3.1# as for the dhcpcd eth0, when i type it the terminal it does not do anything at all as you see output above. here i also post the result of the nmap search: Quote:
|
Sorry the correct command should have been
Code:
ifconfig -a A successful dhcpcd eth0 will not return anything to screen, silence is golden. So if you can, go ahead and run the dhcpcd command and then the ifconfig -a command and post the results. basically what I am trying to accomplish is get an ip address from you cable modem, and then view the ip address and such with the ifconfig command, that is if your network card is even found yet. Is your network card an onboard? |
hi, below is the output can you guide me accordingly thank you:
Quote:
1/ i am using konqueror browser because there is not any firefox browsers installed. 2/ when i login at boot,i type startx is this the only way for loggin in or i should do it in a different way. 3/ i have two hard disks on the same pc, on one of them i only have windows xp installed but when i try to view the files on it, whilst i am in slackware(which is on the second hard disk), i can't do so, i have also tried mounting the hard disk by right clicking on the drive and selecting mount but it does not work. thank you for your help |
Hi the other questions you ask would need another thread started after we fix your networking items. I also would post it in the Slackware forums here on LinuxQuestions, as it is the official Slackware forums and the guys/girls there love to help.
I notice now we have eth0 and eth1 but neither are up. Are you sure you have the cable plugged into the right ethernet connection? The dhcpcd eth0 should have given you an ipaddress. Please change the cable to the other network card and rerun and post the results of these commands. Code:
ifconfig eth0 up Code:
dhcpcd eth0 Code:
ifconfig -a |
hi, soory to bother you again below is the output but unfortunately it does not seem to have showed anything different to the previous outputs:
Quote:
i am sorry for the question in the previous post it was only to make it more clear how i normally log in and i thout they might be related to this thread somehow. thank you |
i would also like to mention that i am connected to the internet via USb cable modem i really forgot to ask from the beginning of the thread because i have installed mandriva and fedora 7 on the same pc that i am using now but did not have any problems with internet connections therefore i am now doubting whether ethernet is different to USB interms of slackware ?
|
If you're using USB, you'll need a driver for your modem instead of for your network card. That'll be the same with any distro, but perhaps Fedora and Mandriva include those drivers in their kernels (I don't know).
|
He already has that driver, it's CDCEther. Slemany, try to disable your onboard network adapter through BIOS. That would be the easiest way to solve the problem. Then run netconfig.
For runlevel 4, edit /etc/inittab to have it say Code:
id:4:initdefault: Code:
id:3:initdefault: Install firefox from either mozilla.com or your favorite slackware mirror. Hope that helps... |
hi, i am glad to see that there are more people to help me now, i thank everyone.
my problems is i am not well familiar with linux, so when you say Quote:
and honestly i also don't know what runlevel4 is and where to type Quote:
thank you |
You don't type "edit /etc/inittab", you do it (i.e. it's an instruction to edit the file /etc/inittab). You can use any text editor to do this (vi, Emacs, pico, Kate, KWrite for example). You'll need to become root before editing the file. In a terminal you can run "su" (without the quotes) and then enter your password when prompted. Then run "editor /etc/inittab", replacing editor with the whatever you want to use. Note that executable names are usually lowercase, so if you want to use KWrite, you'd run "kwrite /etc/inittab". Also note that if you don't have a graphical user interface running at the moment, you'll not be able to use KWrite or Kate (and you'll also not be able to use Emacs if you don't have the emacs-nox package installed).
|
Quote:
i would appreciate if someone could explain to me to do it correctly. |
After running su, did you enter your root password? What happens when you type "kwrite /etc/inittab" (without quotes and obviously, you need to press Enter!).
|
Post any error messages if they occur.
|
Hey guys thanks for stepping in.
|
Quote:
I ALSO WOULD LIKE TO SAY THAT THERE IS KWRITE INSTALLED ON MY SLACXKWARE11 SYSTEM INCASE YOU THINK IT IS NOT INSTALLED. |
I AS USUAL FORGOT TO TELL YOU THAT WHEN I TYPED SU NOTHING CAME UP AND DID NOT ASK FOR ANY PASSWORDS.
|
You were already root, so you didn't need to type su (I suggest you add a user account for yourself for normal use and only use root when necessary). Secondly, I did say executables were lowercase You need a space between the executable and the filename, obviously otherwise the shell is going to think it's looking for "kwrite/etc/inittab". How does it know otherwise?
Please don't type in all capitals, as it looks like you're shouting. |
hi, i apologise for not paying good attentions to your post below
Quote:
i have now come back with this output: see below please: Quote:
many thanks |
Quote:
thanks alot. |
hi, where are you friends? i am sure you can help me.
i am still waiting for your useful information. thank you. slemany. |
What don't you understand?
|
Quote:
if you look at post #27 you would find what you asked me to do but after that you did not follow it, that is why i do not know what to do now to get connected to the internet with on my slackware11 OS. as it was suggested be GENERAL FAILURE to change id:3:initdefault: to id:4:initdefault: but you see in post it is already id:4:initdefault: so i also do not understand his way of dianling onboard network adapter, and i don't know how would this resolve my network connection problems. thank you so much. |
please ignore post #31 as it is mistyped and consider the following:
if you look at post #27 you would find what you asked me to do but after that you did not follow it, that is why i do not know what to do now to get connected to the internet with on my slackware11 OS. as it was suggested be GENERAL FAILURE to change id:3:initdefault: to id:4:initdefault: but you see in post it is already id:4:initdefault: so i also do not understand his way of disabling onboard network adapter, and i don't know how would this resolve my network connection problems. thank you so much. |
Changing your default runlevel (or not, in your case) has nothing to do with your network card. If you want to disable you onboard card, that will need to be done in the BIOS. When you switch on your machine, you should see something like "Press <key> to enter setup" and that's the key you need to press.
Are you connected by Ethernet or USB? |
hi, i am connected by usb
thank you |
I think you need to configure eth1, rather than eth0 in that case. This page suggests that (please note that it's not specific to Slackware, so some things will be different).
|
Slemany, by disabling your onboard network in the way Nylex explained above you automatically make the usb network eth0 instead of eth1. Then you can configure the network in the standard way.
|
All times are GMT -5. The time now is 12:35 PM. |