LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Unable to connect to internet. (https://www.linuxquestions.org/questions/suse-opensuse-60/unable-to-connect-to-internet-583089/)

Moocat 09-07-2007 11:53 PM

Unable to connect to internet.
 
I'm brand new to linux, but not in any way new to computers. I do lots of web design, so have limited experience with the linux shell, and the file system. I was able to successfully get my Geforce 7800 gt card working with openSUSE by downloading and installing drivers. I tried to do the same with my Nvidia ethernet ports... but that hasn't worked yet. I am dual booting Windows XP Pro and openSUSE 10.2.

I am on a University campus network.

In windows, ipconfig /all reveals that I have DHCP enabled... so I enabled it in linux as well. I tried installing the forcedeth drivers, but that seemed to make no change, whereas installing the video card drivers immediately fixed everything in that departement. I really don't know how to check if the drivers installed correctly, and I can't seem to find any info online about it. The eth0 and eth1 ports both show up in Networks, but neither indicate being plugged in... and I am not sure which is which. Both are enabled. Both are onboard Nvidia ethernet ports on my mobo... work fine in Windows. But no matter how I change my settings (static ip, dhcp), it doesn't seem to work (aka i load firefox and get "page not found").

Anyone got any ideas? Pretty desperate to get this working. I hate doing web design in windows. I need KATE! :)

Thanks for the help.

Simon Bridge 09-08-2007 01:50 AM

It depends which ones you have... remote control troubleshooting always goes to the commandline, sorry but it beats second-guessing a gui.

Open a terminal and enter:

lspci

Hunt through the output for those lines talking about your ethernet controller. Copy them and paste them here.

Another thing to try in the terminal is

ifconfig

and

ifup eth0

We'll want to see the output of these commands too.

The drivers install properly if there are no errors. They are only used if they are needed, but, sometimes, you have to nudge them from the cli.

lsmod

... this tells you what drivers are being used. If you are positive the forcedeth drivers are what should be used, then we can deal with that next post.

Moocat 09-08-2007 05:08 PM

lspci:

00:00.1 RAM memory: nVidia Corporation Unknown device 007f (rev a1)
00:00.2 RAM memory: nVidia Corporation Unknown device 0075 (rev a1)
00:00.3 RAM memory: nVidia Corporation Unknown device 006f (rev a1)
00:00.4 RAM memory: nVidia Corporation Unknown device 00b4 (rev a1)
00:01.0 RAM memory: nVidia Corporation Unknown device 0076 (rev a1)
00:01.1 RAM memory: nVidia Corporation Unknown device 0078 (rev a1)
00:01.2 RAM memory: nVidia Corporation Unknown device 0079 (rev a1)
00:01.3 RAM memory: nVidia Corporation Unknown device 007a (rev a1)
00:01.4 RAM memory: nVidia Corporation Unknown device 007b (rev a1)
00:01.5 RAM memory: nVidia Corporation Unknown device 007c (rev a1)
00:01.6 RAM memory: nVidia Corporation Unknown device 007d (rev a1)
00:02.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:05.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)

00:11.0 Ethernet controller: nVidia Corporation MCP55 Ethernet (rev a2)
00:12.0 Ethernet controller: nVidia Corporation MCP55 Ethernet (rev a2)
***********************************************************
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:18:F3:B7:08:70
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:363 errors:1 dropped:0 overruns:0 frame:1
TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:47520 (46.4 Kb)
Interrupt:58 Base address:0xe000

eth1 Link encap:Ethernet HWaddr 00:18:F3:B7:16:67
UP BROADCAST NOTRAILERS 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)
Interrupt:217

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:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2272 (2.2 Kb) TX bytes:2272 (2.2 Kb)
*************************************************************
ifup eth0:
eth0 device: nVidia Corporation MCP55 Ethernet (rev a2)
eth0 configuration: eth-id-00:18:f3:b7:08:70
DHCP client is already running on eth0
*************************************************************
ifup eth1:
eth1 device: nVidia Corporation MCP55 Ethernet (rev a2)
eth1 configuration: eth-id-00:18:f3:b7:16:67
DHCP client is already running on eth1
*************************************************************
lsmod:
Module Size Used by
xt_tcpudp 20352 2
xt_pkttype 18816 3
ipt_LOG 23808 8
xt_limit 20224 8
snd_pcm_oss 71680 0
snd_mixer_oss 35840 1 snd_pcm_oss
snd_seq_midi 27648 0
snd_emu10k1_synth 25856 0
snd_emux_synth 59648 1 snd_emu10k1_synth
snd_seq_virmidi 25088 1 snd_emux_synth
snd_seq_midi_event 25472 2 snd_seq_midi,snd_seq_virmidi
snd_seq_midi_emul 24064 1 snd_emux_synth
snd_seq 82976 5 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_seq_midi_emul
af_packet 57356 4
button 24736 0
battery 28168 0
ac 22792 0
ipt_REJECT 22528 3
xt_state 19200 12
iptable_mangle 19840 0
iptable_nat 24964 0
ip_nat 37804 1 iptable_nat
iptable_filter 19968 1
ip6table_mangle 19456 0
ip6table_filter 19840 0
ip_conntrack 78372 3 xt_state,iptable_nat,ip_nat
nfnetlink 24648 2 ip_nat,ip_conntrack
ip_tables 39400 3 iptable_mangle,iptable_nat,iptable_filter
ip6_tables 33352 2 ip6table_mangle,ip6table_filter
x_tables 37384 9 xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables
apparmor 74264 0
aamatch_pcre 31232 1 apparmor
nls_utf8 18944 2
ntfs 209032 2
loop 34064 0
usblp 32128 0
usbhid 69792 0
dm_mod 81872 0
ohci_hcd 38404 0
ohci1394 52040 0
ieee1394 130552 1 ohci1394
ehci_hcd 51080 0
ide_cd 59680 1
cdrom 54056 1 ide_cd
emu10k1_gp 21120 0
usbcore 148064 4 usblp,usbhid,ohci_hcd,ehci_hcd
gameport 34576 2 emu10k1_gp
nvidia 5684376 22
snd_emu10k1 152480 2 snd_emu10k1_synth
snd_rawmidi 47104 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_ac97_codec 127832 1 snd_emu10k1
snd_ac97_bus 19456 1 snd_ac97_codec
snd_pcm 115464 3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device 26516 6 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer 44680 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 27792 2 snd_emu10k1,snd_pcm
snd_util_mem 22656 2 snd_emux_synth,snd_emu10k1
snd_hwdep 28552 2 snd_emux_synth,snd_emu10k1
snd 89384 18 snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_virmidi,snd_seq_midi _emul,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_util_mem,s nd_hwdep
soundcore 28192 1 snd
i2c_nforce2 24960 0
i2c_core 41472 2 nvidia,i2c_nforce2
forcedeth 78864 0
floppy 82408 0
ext3 167696 2
mbcache 27016 1 ext3
jbd 90872 1 ext3
edd 27912 0
fan 22408 0
sata_sil24 33796 0
sg 55080 0
sata_nv 30084 5
libata 145056 2 sata_sil24,sata_nv
amd74xx 32176 0 [permanent]
thermal 33552 0
processor 53992 1 thermal
sd_mod 39296 7
scsi_mod 173744 3 sg,libata,sd_mod
ide_disk 34304 0
ide_core 174720 3 ide_cd,amd74xx,ide_disk
**********************************************************************************

i am NOT positive that forcedeth is what i should use. That is just something that I read online.

Simon Bridge 09-08-2007 06:14 PM

MCP55 chipset (yours) uses the forcedeth drivers, yes.

ifconfig says that the nics are running, but no IP is assigned.
The ifup output confirms this, and that they are configured correctly for DHCP.
... presumably, this is not at the same time - attempting to access the university net through both nics simultaneously would need extra routing.

lsmod says that the forcedeth driver is loaded and running properly.


* check the little light is on (on the nic).
Code:

ifdown -a
ifup -v eth0 (with eth0 plugged in)

route

dmesg | grep eth0


The problem likely lies with the DHCP server connection. You'll probably have to take this to the unix sysadmin on campus...

Moocat 09-08-2007 07:58 PM

great to hear that it's all set up right so far. Thanks for the help.

Quote:

... presumably, this is not at the same time - attempting to access the university net through both nics simultaneously would need extra routing.
I do have them both configured for DHCP, but that is because I have no idea which one is which. They have the same name. Only one is plugged in to the wall, of course; but I don't know which it is!

I will run the code you posted. I'm booted in Windows right now (or I wouldn't be posting this), and the nic light is on. I'll check again when I switch over to linux.

Moocat 09-09-2007 01:56 PM

Okay, I ran the commands, and when i did ifdown -a, it told me -a was not a valid argument.

ifup -v eth0 tole me that eth0 was not configured. sorry, i don't have a copy of the output, as i don't have a fat32 drive to save it to, i'd have to burn it to a cd >.< I also contacted our technology support desk, and they told me that it was something wrong with my configuration. Many people are apparently successfully running linux on our network.

Moocat 09-09-2007 02:36 PM

I've been messing around with it even more, and on shutdown, when i press escape to see details, it says services that failed : network.

so i'm going to try a reinstall and let you know how that goes.

Moocat 09-09-2007 05:49 PM

i reinstalled opensuse, still nothing.

here are some more commands i ran that i found on another support site.

resolv.conf:

domain MSHOME
*************************
routes:

empty
*************************
netstat -rn:

Destination Gateway Genmask Flags MSS Window irtt Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
*************************
nslookup google.com:

;;connection timed out; no servers could be reached
*************************
telnet 69.147.210:

Trying 69.147.0.210...
telnet: connect to address 69.147.0.210: Network is unreachable
*************************
route:

Destination Gateway Genmask Flags Metric Ref Use Iface
loopback * 255.0.0.0 U 0 0 0 lo
*************************
ifconfig:

eth0 Link encap:Ethernet HWaddr 00:18:F3:B7:08:70
inet6 addr: fe80::218:f3ff:feb7:870/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING 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)
Interrupt:58 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:69 errors:0 dropped:0 overruns:0 frame:0
TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5377 (5.2 Kb) TX bytes:5377 (5.2 Kb)
**************************
ifup eth0:

eth0 device: nVidia Corporation MCP55 Ethernet (rev a2)
eth0 configuration: eth-id-00:18:f3:b7:08:70
DHCP client is already running on eth0
**************************
ifup -v eth0:

eth0 device: nVidia Corporation MCP55 Ethernet (rev a2)
No configuration found for eth0


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