I’ve probably missed something really obvious but it’s got me bluffed right now.
It worked up till a few weeks ago when I tried to set up thin clients on the wired network, so the wife could have a terminal in the kitchen. After I ran Kiwi-ltsp setup it all turned to custard. Thin client setup doesn’t work and now I can’t get the 12.3 machine onto the net.
Firstly WiFi works on both machine and mobile broadband router without any issues at all. I’m posting this from an 11.4 instance on the same machine and the two networks coexist happily, 10.1.x.x is the LAN and 192.x.x.x connects to the net, but when I boot 12.3 it refuses to go online.
Ping the router using ip address (http://192.168.10.50) and it connects to the router admin fine.
Do ifconfig and you get:
I did some searching and read a post from Henk van Velden and checked a few things.
The thing that had me scratching my head was:
LTServer:/etc # netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.10.50 0.0.0.0 UG 0 0 0 wlan0
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
I’ve no idea where 169.254.x.x has come from or for that matter how to remove it, that is of course assuming that it is a problem. Networking is not really my strong suit. Any help appreciated.
Nope, doesn’t resolve any names at all. I haven’t tried to ping an IP address out past the router, but my assumption was; given the 11.4 instance was working and getting out to the internet with the same hardware then the problem must be with a config file somewhere in the 12.3 installation.
ltserver:/root12.3 # cat etc/resolv.conf
### /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
I’m doing this from the 11.4 instance and I’ve mounted the 12.3 root partition at /root12.3 while I’m trying to figure this out
This /etc/resolv.conf does not show any DNS server entry. No wonder you can not resolve names.
Normaly when you use DHCP your DNS server is povided by the DHCP erver. If you configure your network yurself, you have to provide it yourself (can be done using YaST).
When you do not know which DNS server to use (the DHCP server most often gives his own address as such, or an address of your ISP) you can use 8.8.8.8 (sould be a very reliable and fast one provided by Google).
When you want to add this “manualy” ad the line
nameserver 8.8.8.8
atr the end of /etc/resolv.conf. When you, after testing, want to keep that solution, read the comment in /etc/resolv.conf about removing a certain line. The removing of that line will prevent a future DHCP use from overwriting what you just entered “manualy”.
Thanks for the output. I’ll add to what hcvv has said.
If you have manually configured the IP addresses, then you have to manually build “/etc/resolv.conf” yourself. If you are using DHCP, that information is usually provided automatically. In your case, it isn’t happening.
There’s a possibility that your connections will be router through eth0, and your wlan0 will only see other computers on your LAN. You may have to make some routing changes if that is not what you want.
8.8.8.8 didn’t work so I got DNS nameservers from my isp and put them in manually in yast and after a reboot we seem to be all working. Thanks for the help guys, much appreciated.