It’s starting to look like all my troubles using ifup wasn’t that I couldn’t get the interface up, but the routing wasn’t working. Check out my routing table:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.255.255.0 U 0 0 0 wlan0 link-local * 255.255.0.0 U 0 0 0 wlan0 loopback * 255.0.0.0 U 0 0 0 lo
Why no gateway? And my /etc/sysconfig/network/ifcfg-wlan0:
tags. The way your stuff
wrapped is nearly impossible to read.
For a temporary fix, you will need to use the command
sudo /sbin/route add default gw 10.0.0.X
where X is the IP number of your router. Why it was not set up correctly is
probably the setting for your wired network in
/etc/sysconfig/network/ifcfg-eth0. It probably has “STARTMODE=‘auto’”, but it
should be “STARTMODE=‘ifplugd’”
I did use CODE tags like I was told to. I don’t know why it went mental like that.
Going to ifplugd didn’t help. I did explicitly add the gateway in YaST (including the interface) (I thought DHCP was supposed to take care of that) but for some reason, every time I restart my system, it disappears and I have to add it again.
Did you realy copy/paste directly from your terminal emulator (konsole or other) into the composer area of the post? It is realy not difficult:
henk@boven:~> /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.0.0.138 0.0.0.0 UG 0 0 0 eth0
henk@boven:~>
You see the prompt (you do not have hat), the command (you do not have that, but instead you told in a story what it probably was) and the complete output generated (by showing up to including the new prompt).
DHCP will only take care of anything if you use it. But you did not explain if you (try to) use it or not.
Please try to make a complete story of what you try to achive:
. wich interface (I guess wlan0 from your mangled ooutput in post #1);
. apperently ifup method and not Network manager;
. DHCP usage or fixed IP address;
and how you used YaST to achieve what you want, what did you fill in where.
To see what you have now (and what will be used e.g. during a a boot), you can post: