LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   slackware11 no internet conection, desperately (https://www.linuxquestions.org/questions/linux-newbie-8/slackware11-no-internet-conection-desperately-570228/)

slemany 07-17-2007 06:14 PM

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.

lord-fu 07-17-2007 06:55 PM

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?

slemany 07-18-2007 10:54 AM

hi here i post the output:


Quote:

What is a magician but a practising theorist?
-- Obi-Wan Kenobi

slemany@slemany:~# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400/A] Chipset Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:08.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video (rev 01

Quote:

slemany@slemany:~# lsmod
Module Size Used by Not tainted
snd-seq-oss 23104 0 (unused)
snd-seq-midi-event 3208 0 [snd-seq-oss]
snd-seq 33552 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 28928 0 (unused)
snd-mixer-oss 11928 0 [snd-pcm-oss]
CDCEther 10524 0 (unused)
printer 7520 0 (unused)
acm 5376 0 (unused)
uhci 23804 0 (unused)
ehci-hcd 17644 0 (unused)
usbcore 56812 1 [CDCEther printer acm uhci ehci-hcd]
snd-via82xx 13580 0
gameport 1388 0 [snd-via82xx]
snd-ac97-codec 68160 0 [snd-via82xx]
snd-pcm 52804 0 [snd-pcm-oss snd-via82xx snd-ac97-codec]
snd-timer 13168 0 [snd-seq snd-pcm]
snd-mpu401-uart 3120 0 [snd-via82xx]
snd-rawmidi 12224 0 [snd-mpu401-uart]
snd-seq-device 3716 0 [snd-seq-oss snd-seq snd-rawmidi]
snd 34304 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3300 6 [snd]
snd-page-alloc 4980 0 [snd-seq-oss snd-seq snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
via-rhine 11824 0
mii 2304 0 [via-rhine]
crc32 2880 0 [via-rhine]
pcmcia_core 39492 0
ntfs 50848 0 (autoclean)
ide-scsi 9392 0


Quote:

slemany@slemany:~# ifconfig
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:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:856 (856.0 b) TX bytes:856 (856.0 b)

slemany@slemany:~#

slemany 07-18-2007 10:56 AM

i hope the output would eplain some thing so that i can get some advices accordingly.

tank you, i appreciate your answers

lord-fu 07-18-2007 12:23 PM

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
do for you?

If you want you can run
Code:

netconfig
again and choose dhcp.

slemany 07-18-2007 01:08 PM

Quote:

Originally Posted by lord-fu
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
do for you?

If you want you can run
Code:

netconfig
again and choose dhcp.


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 .

lord-fu 07-18-2007 07:57 PM

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)?

slemany 07-19-2007 06:35 AM

Quote:

Originally Posted by lord-fu
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)?

i tried both wit 0 as in Zero and O as letter o, but that is what i got.

in terms of the error messages they show during the package installations not during the network configuration.

thank you.

slemany

lord-fu 07-19-2007 08:20 AM

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

slemany 07-19-2007 05:02 PM

Quote:

Originally Posted by lord-fu
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


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:


Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-07-19 22:43 BST
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns_servers
Interesting ports on slemany.localhost (127.0.0.1):
Not shown: 1674 closed ports
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 4.4 (protocol 1.99)
25/tcp open smtp Sendmail 8.13.8/8.13.8
37/tcp open time (32 bits)
113/tcp open ident OpenBSD identd
587/tcp open smtp Sendmail 8.13.8/8.13.8
6000/tcp open X11 (access denied)
Device type: general purpose
Running: Linux 2.4.X|2.5.X
OS details: Linux 2.4.0 - 2.5.20
Uptime 0.008 days (since Thu Jul 19 22:31:59 2007)
Service Info: OSs: Unix, OpenBSD

Nmap finished: 1 IP address (1 host up) scanned in 8.382 seconds

lord-fu 07-19-2007 05:49 PM

Sorry the correct command should have been
Code:

ifconfig  -a
With a space, I apologize for that.

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?

slemany 07-20-2007 03:50 AM

hi, below is the output can you guide me accordingly thank you:

Quote:

bash-3.1# dhcpcd eth0
bash-3.1# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:6E:F0:F6:13
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:4720 (4.6 KiB)
Interrupt:11 Base address:0xec00

eth1 Link encap:Ethernet HWaddr 00:02:8A:10:E1:E1
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

bash-3.1#
by the way i have a couple of more questions incase they explain more about my problems:
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

lord-fu 07-20-2007 07:56 AM

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
just in case

Code:

dhcpcd eth0
Code:

ifconfig -a

slemany 07-20-2007 05:32 PM

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:

bash-3.1# dhcpcd eth0
bash-3.1# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:6E:F0:F6:13
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:4720 (4.6 KiB)
Interrupt:11 Base address:0xec00

eth1 Link encap:Ethernet HWaddr 00:D0:59:F4:08:39
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

bash-3.1#

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

slemany 07-20-2007 05:46 PM

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 ?


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