Jump to content

Can't establish connection [solved]


Gul Dukat
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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 ;)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by Gul Dukat
Link to comment
Share on other sites

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 ;)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...