-
Static IP
I had Feisty running well on an old AMD K7 550. Decided to try Gusty.
Didn't work. So i went back to Feisty. Now the only way I can connect to
the internet is with DHCP enabled. I use to Have everything set up
Static IP. So now I'm not connecting to the rest of my LAN. Why did it
work the first time but not now? I really want Static.
The second weird thing is that can only find this newsgroup on my Linux
machine. Same ISP using TB2 and my Win box will not show this newsgroup
as being available?????????
caver1
-
Re: Static IP
On Tue, 11 Sep 2007 20:40:43 -0400
caver <caver@caver1> wrote:
[color=blue]
> I had Feisty running well on an old AMD K7 550. Decided to try Gusty.
> Didn't work. So i went back to Feisty. Now the only way I can connect
> to the internet is with DHCP enabled. I use to Have everything set up
> Static IP. So now I'm not connecting to the rest of my LAN. Why did
> it work the first time but not now? I really want Static.
> The second weird thing is that can only find this newsgroup on my
> Linux machine. Same ISP using TB2 and my Win box will not show this
> newsgroup as being available?????????
> caver1[/color]
Hi
Edit your /etc/network/interfaces like so;
# The primary network interface
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
Make sure the resolvconf program is not installed and edit your
/etc/resolv.conf like so;
nameserver <your isp's dns primary dns server ip>
nameserver <your isp's dns secondary dns server ip>
search <your local FQDN if required>
Check your /etc/nsswitch.conf file to ensure the hosts: line includes
dns like so;
hosts: files dns
Update your /etc/hosts file to include the static ip's and friendly
names on your local network. If you have a local FQDN then add that to
the friendly names as well like so;
xxx.xxx.xxx.xxxx <friendly name.FQDN> <friendly name>
--
Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP1 x86_64 Kernel 2.6.16.53-0.8-smp
up 2 days 0:17, 2 users, load average: 0.26, 0.19, 0.14
-
Re: Static IP
Malcolm wrote:[color=blue]
> On Tue, 11 Sep 2007 20:40:43 -0400
> caver <caver@caver1> wrote:
>[color=green]
>> I had Feisty running well on an old AMD K7 550. Decided to try Gusty.
>> Didn't work. So i went back to Feisty. Now the only way I can connect
>> to the internet is with DHCP enabled. I use to Have everything set up
>> Static IP. So now I'm not connecting to the rest of my LAN. Why did
>> it work the first time but not now? I really want Static.
>> The second weird thing is that can only find this newsgroup on my
>> Linux machine. Same ISP using TB2 and my Win box will not show this
>> newsgroup as being available?????????
>> caver1[/color]
> Hi
> Edit your /etc/network/interfaces like so;
> # The primary network interface
> auto eth0
> iface eth0 inet static
> address xxx.xxx.xxx.xxx
> netmask xxx.xxx.xxx.xxx
> gateway xxx.xxx.xxx.xxx
>
> Make sure the resolvconf program is not installed and edit your
> /etc/resolv.conf like so;
> nameserver <your isp's dns primary dns server ip>
> nameserver <your isp's dns secondary dns server ip>
> search <your local FQDN if required>
>
> Check your /etc/nsswitch.conf file to ensure the hosts: line includes
> dns like so;
> hosts: files dns
>
> Update your /etc/hosts file to include the static ip's and friendly
> names on your local network. If you have a local FQDN then add that to
> the friendly names as well like so;
>
> xxx.xxx.xxx.xxxx <friendly name.FQDN> <friendly name>
>[/color]
Thanks worked great. Turned out that the /etc/network/interfaces files
had the addresses all wrong.
caver1