LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network help for Suse 9.1 needed (https://www.linuxquestions.org/questions/linux-networking-3/network-help-for-suse-9-1-needed-210265/)

Fenster 07-27-2004 12:51 PM

Network help for Suse 9.1 needed
 
I'm a newbie when it comes to Linux, having only installed it a few days ago. After consulting friends, the net and assorted books, I decided to install Suse 9.1 as I understood it was newb-friendly. And it has. I'm finding it a great replacment for Windows XP-its highly customizable, is stable, is fast and its great for media and document work...except for one problem: no internet. :(

Background:
I originally posted this on a local board and after providing additional information, I was told it was pretty much a case that Suse isn't detecting my ethernet/router and mucking around I've done myself has shown this also.

Also, I must add that I'm llike a deer in headlights still when it comes to compiling code, writing scripts and the like. I don't doubt that it will come to me in time, but for now any sort of newb-lite help is best. Thank you. :D

System:

Suse Linux 9.1 personal edition

ASRock P4VT8 motherboard (with its specific drivers installed). Its ethernet is integrated.

Netopia 3346-ENTrouter. It has the latest firmware installed.

nVidia GeForce FX 5900 XT graphics card

Trust 514DX sound card

Seagate 80GB 7200RPM IDE, model st3800 hard drive-two Windows NTFS partitions and a Linux ext3 one.
1024mb PC2100 DDR RAM

I think that more or less covers the basics of my system.

Logs:

In my previous thread I was asked to provide various outputs so that the problem could be pinned down. These are below:

ifconfig:

linux:/home/<name> # ifconfig
eth0 Link encap:Ethernet HWaddr 00:0B:6A:2B:CE: D0
inet6 addr: fe80::20b:6aff:fe2b:ced0/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1530 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:93957 (91.7 Kb) TX bytes:2852 (2.7 Kb)
Interrupt:11 Base address:0xc000

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:208 errors:0 dropped:0 overruns:0 frame:0
TX packets:208 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13664 (13.3 Kb) TX bytes:13664 (13.3 Kb)

ifdown:

eth0 device: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
eth0 configuration: eth-id-00:0b:6a:2b:ce:d0

ifup:

eth0 device: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
eth0 configuration: eth-id-00:0b:6a:2b:ce:d0
ERROR: Error while excuting:
Command 'ip route replace to 169.254.0.0/16 dev eth0' returned:
RTNETLINK answers: No such device
Configuration line: 169.254.0.0 - 255.255.0.0 eth0

Boot log:

Due to its length I cropped the parts not associated with networking. Let me know if you need the full log

ERROR: Error while excuting:
Command 'ip route replace to 169.254.0.0/16 dev eth0' returned:
RTNETLINK answers: No such device
Configuration line: 169.254.0.0 - 255.255.0.0 eth0

Warning: interface eth0 is not (yet?) active.
Warning: No interface active (yet?)linux:~ # ifup eth0
eth0 device: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
eth0 configuration: eth-id-00:0b:6a:2b:ce:d0Inspecting

Setting up network interfaces:
lo
lo IP address: 127.0.0.1/8
done eth0 device: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
eth0 configuration: eth-id-00:0b:6a:2b:ce:d0
eth0 Error while excuting:
Command 'ip route replace to 169.254.0.0/16 dev eth0' returned:
RTNETLINK answers: No such device
Configuration line: 169.254.0.0 - 255.255.0.0 eth0


ERROR: Error while excuting:
Command 'ip route replace to 169.254.0.0/16 dev eth0' returned:
RTNETLINK answers: No such device
Configuration line: 169.254.0.0 - 255.255.0.0 eth0

Warning: interface eth0 is not (yet?) active.

Warning: interface eth0 is not (yet?) active.
Warning: No interface active (yet?)linux:~ # ifdown eth0
eth0 device: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
eth0 configuration: eth-id-00:0b:6a:2b:ce:d0


th0 Link encap:Ethernet HWaddr 00:0B:6A:2B:CE: D0
BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX packets:1800 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:115605 (112.8 Kb) TX bytes:8880 (8.6 Kb)
Interrupt:11 Base address:0xc000

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:369 errors:0 dropped:0 overruns:0 frame:0
TX packets:369 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25444 (24.8 Kb) TX bytes:25444 (24.8 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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)


Thank you again for any help provided. :)

Fenster 07-27-2004 04:21 PM

Bump.

Fenster 07-28-2004 02:35 AM

Bump

Kess78 07-28-2004 05:45 AM

Hi,
from your logs I can understand that your modem has ethernet card and not USB interface. Thats good.
If you type ifconfig you can see that your eth0 net card doesn't have any assigned IP address, no netmask and nothing else assigned.
That's because you probably have your eth0 configured in DHCP and you don't have nothing on your network providing this service.
The most of ethernet routers have the 192.168.1.1 IP address assigned but netmask is different.
Using Yast try to force the IP address of your net card to 192.168.1.2 with netmask 255.255.255.248.
Your default gateway/router should be 192.168.1.1 and probably also DNS Server should be 192.168.1.1.
Try with that and then try to ping your router (192.168.1.1). If it works try for example ping www.google.com (this will show you if DNS is correct, if not replace DNS with those provided by your ISP).

Hope this helps, bye Kess.

bastard23 07-28-2004 11:18 AM

Fenster,
Building on Kess' comment, what are your network settings? This log entry looks a little wrong as it is doubtful (but possible) that you really are on a /16 network:
Quote:

Command 'ip route replace to 169.254.0.0/16 dev eth0' returned:
RTNETLINK answers: No such device
I would recommend checking your settings in the network configuration of yast2.

Good Luck,
chris

Fenster 07-28-2004 04:27 PM

Thank you Kess and Bastard for replying.

I've followed all of the given advice (from both here and elsewhere) so far and while my ethernet is detected and configured correctly in Yase, my router is only showing as follows:

Unknown (PPPOE-style) DSL Device Detected

After much trying, I accessed the router's http configuration page and it shows as follows:
Code:

Hardware Netopia Model 3346 DSL Ethernet Switch

Serial Number 13143760    Software Version 7.3.3r0    Product ID 1217
Date & Time 7/28/04 08:21:32 PM

WAN

Status Up    Data Rate (Kbps) Downstream: 512 Upstream: 128
Local Address <ip>
Peer Address <ip>
Connection Type Instant On    NAT On
WAN Users Unlimited

LAN

IP Address 192.168.1.254      Netmask 255.255.255.0
Ethernet Status Up
DHCP Server On
DHCP Leases 1 out of 253 leases in use
DNS-1 159.134.237.6      DNS-2 159.134.248.17

Diagnostics on the router showed everything to be running:

Code:

==== Checking LAN Interfaces
Check Ethernet LAN connect                            : PASS
 Check IP connect to Ethernet (LAN)                    : PASS
  Pinging Gateway                                      : PASS
==== Checking DSL (WAN) Interfaces
Check DSL Synchronization                              : PASS
 Check ATM Cell-Delineation                            : PASS
  ATM OAM Segment Ping through  (vcc1)                : PASS
  ATM OAM End-To-End Ping through  (vcc1)              : PASS
  Check Ethernet connect to AAL5  (vcc1)              : PASS
  Check PPPOE connect to Ethernet (vcc1)              : PASS
    Check PPP connect to PPPOE (vcc1)                  : PASS
    Check IP connect to PPP (vcc1)                    : PASS
      Pinging Gateway                                  : PASS
==== Checking Miscellaneous
Check DNS- Query for netopia.com                      : PASS
Ping DNS Server Primary IP Address                    : PASS
TEST DONE

So everything apprears to be rosy and well as far as the router itself is concerned. Now, I ran other commands as requested by various people and I got the following:

First off afterwards I pinged the router:

linux:/home/<name> # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.


--- 192.168.1.1 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 8998ms
rtt min/avg/max/mdev = 0.038/0.041/0.050/0.003 ms

Etc etc, it pinged okay. Next off I pinged google.com

ping: unknown host http://www.google.com

I also get the same error when I try to open a page in Konqueror.

I tried to edit /etc/resolv.conf but its just telling me I don't have enough disc room. I assume it needs root access or the like.

Lastly for now, trying to run mii-tool just gives me an error that there's no mii interface/.

SIOCGMIIPHY on 'eth0' failed: Operation not supported
no MII interfaces found/

arno 07-28-2004 04:35 PM

Could you post the information of
ifconfig
and
route

Fenster 07-28-2004 05:25 PM

Well I think you've put me on the right track. For the sake of it I pinged google.com by IP:

Code:

linux:/home/<name> # ping 216.239.51.147
PING 216.239.51.147 (216.239.51.147) 56(84) bytes of data.
--- 216.239.51.147 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6005ms
rtt min/avg/max/mdev = 96.216/97.298/98.613/0.826 ms

I was also able to browse web pages in Konqueror via IPs. So eh, its likely to do with a missed setting somewhere.

Here's my ifconfig and route info:

ifconfig:

Code:

linux:/home/<name> # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0B:6A:2B:CE:D0
          inet addr:192.168.1.1  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::20b:6aff:fe2b:ced0/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:646 errors:0 dropped:0 overruns:0 frame:0
          TX packets:159 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:121106 (118.2 Kb)  TX bytes:20388 (19.9 Kb)
          Interrupt:11 Base address:0xc000

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:414 errors:0 dropped:0 overruns:0 frame:0
          TX packets:414 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:31420 (30.6 Kb)  TX bytes:31420 (30.6 Kb)

route:

Code:

linux:/home/<name> # route
Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
192.168.1.0    *              255.255.255.0  U    0      0        0 eth0
link-local      *              255.255.0.0    U    0      0        0 eth0
loopback        *              255.0.0.0      U    0      0        0 lo
default        192.168.1.254  0.0.0.0        UG    0      0        0 eth0


bastard23 07-28-2004 06:10 PM

Are you using DHCP, or is it manually configured.
You need to edit your /etc/resolv.conf (or through Yast) and add your DNS servers (probably your router or your ISPs if not). But...
Quote:

I tried to edit /etc/resolv.conf but its just telling me I don't have enough disc room. I assume it needs root access or the like.
Try "df /" to see how much room you have. You may have filled up your disk.

Good Luck,
chris

Fenster 07-28-2004 07:04 PM

Well after all my running around the fix was as simple as adding the right DNS setting from my router into Yast. God I feel like such a newb now.

:newbie:


All times are GMT -5. The time now is 02:50 AM.