DNS is not Working and openSUSE does not see my ethernet connection (auto eth0)

I tried to enter DNS. Its done but this is not working. Im using Google Puplic DNS, 8.8.8.8, 8.8.4.4

My resolv.conf output:

### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
search home
nameserver 192.168.1.1
nameserver 8.8.8.8
nameserver 8.8.4.4

Other problem, openSUSE doesnt see my wired internet connection. It connected but does not see my connection in network menu.
Im using KDE

Please post the output of this commands here :

/sbin/ifconfig
lspci -nnk

Best regards,
Greg

/sbin/ifconfig

eth0      Link encap:Ethernet  HWaddr 00:14:0B:6A:4E:16  
          inet addr:192.168.1.47  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::214:bff:fe6a:4e16/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:139506 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94390 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:169598105 (161.7 Mb)  TX bytes:8996379 (8.5 Mb)
          Interrupt:28 Base address:0x2000 

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

wlan0     Link encap:Ethernet  HWaddr 00:0D:F0:5D:A5:E3  
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:f0ff:fe5d:a5e3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3497 errors:0 dropped:0 overruns:0 frame:0
          TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:282479 (275.8 Kb)  TX bytes:57992 (56.6 Kb)

lspci -nnk


linux-prob:~ # lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GME Express Memory Controller Hub [8086:27ac] (rev 03)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
        Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GME Express Integrated Graphics Controller [8086:27ae] (rev 03)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
        Kernel driver in use: i915
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 02)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
        Kernel driver in use: HDA Intel
00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 02)
        Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 2 [8086:27d2] (rev 02)
        Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 3 [8086:27d4] (rev 02)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 4 [8086:27d6] (rev 02)
        Kernel driver in use: pcieport
00:1d.0 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 [8086:27c8] (rev 02)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
        Kernel driver in use: uhci_hcd
00:1d.1 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 [8086:27c9] (rev 02)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
        Kernel driver in use: uhci_hcd
00:1d.2 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 [8086:27ca] (rev 02)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
        Kernel driver in use: uhci_hcd
00:1d.3 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 [8086:27cb] (rev 02)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
        Kernel driver in use: uhci_hcd
00:1d.7 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 02)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
        Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller [8086:27c4] (rev 02)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
        Kernel driver in use: ata_piix
00:1f.3 SMBus [0c05]: Intel Corporation N10/ICH 7 Family SMBus Controller [8086:27da] (rev 02)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
        Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:5002]
        Kernel driver in use: r8169

Ok everything seems to be fine here just two questions. Why are You connected with ethernet and wireless at the same time ? Did You try disconnecting the cable and accessing internet with the cable unplugged ?

Could You also post the output of the command here :

route -n

Best regards,
Greg

Yes I tried it.



linux-prob:~ # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

Ok This is the problem. You need to have your default route traverse through your wlan0 interface.

0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

Are You using ifup or NetworkManager ? Can You try to unplug the cable and run ?

/etc/init.d/network restart

Best regards,
Greg

I cant do this… Not working :S

So what is the result of the commands after You restart the network ? Are You using NetworkManager of ifup

On Thu February 10 2011 09:06 am, barisuse wrote:

>
> I cant do this… Not working :S
>
>
Try this:


su
rcnetwork restart

You will need to enter your root’s password.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

same result… Not working :frowning:

Hi
Unplug the ethernet cable and restart your network you can’t have both at the same time…

Hello to all,
usally i’m a windows user and try to migrate to the suse clan ;). So i just bot a suse 11.3 Package
in the shop …

Now i’m struggeling with the Network aswell … it’s a Desktop Computer with a Network-Card
RTL-8139/8139C/8139C+ and i’m using the ‘ifub’ so far …

In the Yast-Menu the card (RTLxx) shows up but as 'not configureted …BUT in the buttons a the
left down corner ‘edit’ is blind … so this card can’t get configurated …

How can it get to work …?

Many thanks in advance
Iwan

Hi and welcome :slight_smile:
Please read here first; My wireless doesn’t work - a primer on what I should do next

You then need to start a new post in the wireless subforum and post the information requested in the above sticky.

Hi malcolmlewis

Thanks for the welcome :slight_smile:

I think we have a little missunderstanding … i’m talking about a LAN (eth0) Connection with a Cable.

I don’t know, why it’s not working … it’s just an ethernet - connection with DHCP (no fix IP) and IPv4.
So a kind of plug and Play :wink:

Looking forward to some answers
Iwan

On 02/10/2011 04:36 PM, malcolmlewis wrote:
>
> iwan_suse;2288644 Wrote:
>> Hello to all,
>> usally i’m a windows user and try to migrate to the suse clan ;). So i
>> just bot a suse 11.3 Package
>> in the shop …
>>
>> Now i’m struggeling with the Network aswell … it’s a Desktop Computer
>> with a Network-Card
>> RTL-8139/8139C/8139C+ and i’m using the ‘ifub’ so far …
>>
>> In the Yast-Menu the card (RTLxx) shows up but as 'not configureted
>> …BUT in the buttons a the
>> left down corner ‘edit’ is blind … so this card can’t get configurated
>> …
>>
>> How can it get to work …?
>>
>> Many thanks in advance
>> Iwan
> Hi and welcome :slight_smile:
> Please read here first; ‘My wireless doesn’t work - a primer on what I
> should do next’ (http://tinyurl.com/47ukyyh)
>
> You then need to start a new post in the wireless subforum and post the
> information requested in the above sticky.

That card is wired, not wireless.

Welcome.
Can you open a terminal and post the output from


ifconfig -a

Are you using [Kn]etworkManager or standard ifup/ifdown ?
You should use YaST to set it either and to obtain DHCP automatically, but IIRC ifup/ifdown you also need to assign the DNS addresses, like the 8.8.8.8 referenced earlier or the OpenDNS 208.67.222.222,208.67.220.220.

my ifconfig -a

linux-prob:~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:14:0B:6A:4E:16  
          inet addr:192.168.1.47  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::214:bff:fe6a:4e16/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:129317 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63214 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:177454725 (169.2 Mb)  TX bytes:6519361 (6.2 Mb)
          Interrupt:28 Base address:0x4000 

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

wlan0     Link encap:Ethernet  HWaddr 00:0D:F0:5D:A5:E3  
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:f0ff:fe5d:a5e3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2195 errors:0 dropped:0 overruns:0 frame:0
          TX packets:143 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:166201 (162.3 Kb)  TX bytes:33274 (32.4 Kb)

i dont know use which network manager :S

You can find out what network manager you are using under YaST -> Network Devices -> Network Settings -> Global Options and it is under “Network Setup Method”

Here is a screenshot of where it is in the YaST Network Settings:
ImageShack® - Online Photo and Video Hosting

Im using user controlled with NetworkManager

Your card got the ip 192.168.1.47. It means that it is part of the local network 192.168.1.0 and probably your router should have the local ip 192.168.1.1.
Can you try the following command as root in a terminal:

ping -c 2 192.168.1.1

and output the result?
Nevermind. It’s already working - according to previous posts.