Gul Dukat Posted August 24, 2006 Report Share Posted August 24, 2006 Hi, I've recently installed "Thor" and after that "Odin" on one of my test-configurations. I know about "drakconnect" being broken, and herein is my problem. In my network I'm using static IP-adresses, but with "Thor" and "Odin" I can't seem to get my internet-connection on. The problem is, that it doesn't store/remember my DNS-adresses nor my gateway. It only stores the Ip-adress for this specific configuration and it's subnet. Is there a workaround for this or any other solution for that matter? I've been trying to do a ftp-install, hoping this would be a solution, but I can't seem to find a ftp-iso on any of the mirrors. I hope someone found a solution and could help me out here. I know this bug exists and reported it to Bugzilla, likewise. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Report Share Posted August 24, 2006 Have you been configuring your network details from the command prompt? And if so, how were you configuring? The only thing I can think would be configuring if I was using eth0 for example, as follows. I'm going to use example IP's but you'll get the idea. IP: 10.1.1.2 Subnet: 255.255.255.0 Gateway: 10.1.1.1 (router) DNS: 10.1.1.1 (router) ifconfig eth0 10.1.1.2 netmask 255.255.255.0 then: route add default gw 10.1.1.1 and then: echo "nameserver 10.1.1.1" > /etc/resolv.conf that will overwrite any existing resolv.conf. I don't know if that helps any. And apologies if it sounds like I'm suggesting something you already know ;) Quote Link to comment Share on other sites More sharing options...
Gul Dukat Posted August 24, 2006 Author Report Share Posted August 24, 2006 I have to 2 IP-adresses for the DNS-servers. Can I do this twice: echo "nameserver 10.1.1.1" > /etc/resolv.conf or will this overwrite the first one? If so, how can I add 2 DNS-servers? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Report Share Posted August 24, 2006 You can append to the file using >>. So like this: echo "nameserver 10.1.1.1" > /etc/resolv.conf echo "nameserver 10.1.1.254" >> /etc/resolv.conf and then the file will have two entries. I'm only using this to create the file rather than vi or anything like that. Quote Link to comment Share on other sites More sharing options...
Gul Dukat Posted August 24, 2006 Author Report Share Posted August 24, 2006 Thanks, so far Ian. Will try this this evening. For now, I'm going to keep my boss happy. ;) Quote Link to comment Share on other sites More sharing options...
Gul Dukat Posted August 24, 2006 Author Report Share Posted August 24, 2006 (edited) Somehow, this doesn't work. Opening /etc/resolv.conf shows my nameservers and I get a response when I try to ping my gateway. But this doesn't get me on the internet. The settings I've entered, should work to establish an internet-connection. In addition. This what my /etc/resolv.conf looks like: nameserver 123.456.789.000 nameserver 123.456.789.001 Edited August 24, 2006 by Gul Dukat Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Report Share Posted August 24, 2006 Whats the output of: route or even: netstat -r will produce the same results. Quote Link to comment Share on other sites More sharing options...
scoonma Posted August 24, 2006 Report Share Posted August 24, 2006 Hi Gul, your first entry for a nameserver is not valid (must be in range 1-254). Make sure you choose a valid DNS server here. (For more info on networking, see http://www.idevelopment.info/data/Networki...ng_Scheme.shtml for example). Greetings, scoonma Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Report Share Posted August 24, 2006 Hi Gul, your first entry for a nameserver is not valid (must be in range 1-254). Make sure you choose a valid DNS server here. He might just have put this as an example, rather than post a legit DNS entry ;) Quote Link to comment Share on other sites More sharing options...
Gul Dukat Posted August 24, 2006 Author Report Share Posted August 24, 2006 He might just have put this as an example, rather than post a legit DNS entry ;) It is. Sorry, for not making it obvious. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Report Share Posted August 24, 2006 Let us know if the route command proves fruitful to one existing for the default gateway. Quote Link to comment Share on other sites More sharing options...
Gul Dukat Posted August 24, 2006 Author Report Share Posted August 24, 2006 Whats the output of: route Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.255.255.0 U 10 0 0 eth0 169.254.0.0 * 255.255.0.0 U 10 0 0 eth0 default 10.0.0.2 0.0.0.0 UG 10 0 0 eth0 or even: netstat -r will produce the same results. Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default 10.0.0.2 0.0.0.0 UG 0 0 0 eth0 Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Report Share Posted August 24, 2006 Does: host linux.org resolve to show some sort of internet connectivity? Quote Link to comment Share on other sites More sharing options...
Gul Dukat Posted August 24, 2006 Author Report Share Posted August 24, 2006 Yes it does. Thanks Ian, for helping me solve this problem. Much appreciated. :) Quote Link to comment Share on other sites More sharing options...
scoonma Posted August 24, 2006 Report Share Posted August 24, 2006 Uups, should have inspected the numbers more closely! :blush: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.