Re: Internet Woes
From: Bit Twister (BitTwister_at_localhost.localdomain)
Date: 12/23/03
- Next message: Skylar Thompson: "Re: Switch connections"
- Previous message: Darryl: "Re: Internet Woes"
- In reply to: Darryl: "Re: Internet Woes"
- Next in thread: Darryl: "Re: Internet Woes"
- Reply: Darryl: "Re: Internet Woes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 23 Dec 2003 01:38:26 GMT
On 22 Dec 2003 17:19:24 -0800, Darryl wrote:
> Bit Twister <BitTwister@localhost.localdomain> wrote in message news:<slrnbua93s.lns.BitTwister@wb.home>...
>> You are going to get the ip address assigned to you by the ISP's dhcp
>> server. If the mac value changes you will not get the other addy.
>> The dhcp server caches the mac with the ip address until the lease
>> expires.
>
> Any way to "force" it to get a new lease?
>
>> it is created by the dhcpcd client. You are using dhcpclient.
>
> Maybe I should use dhcpcd client?
>
>> > Also, the first file seems to have an IP address hardcoded that has
>> > never worked. Can I alter this file or is it strictly auto-generated?
>>
>> Now, that is the ip address which the dhcp server gave you.
>
> I assume the "Now" above was "No", right?
Frap, yes, should be No
>> Looking at /var/lib/dhcp/dhclient-eth1.leases
>>
>> use the gateway in your /etc/sysconfig/network
>> and dns values in /etc/resolv.conf
>
> When you say "use the gateway" you mean change it somewhere?
Thought I gave the files to look in earler in thread.
/etc/sysconfig/network has gateway
/etc/resolv.conf for dns nameservers
>> and /etc/sysconfig/network-scripts/ifcfg-eth1 should have something like
>> DEVICE=eth1
>> BOOTPROTO=dhcp
>> ONBOOT=yes
>> MII_NOT_SUPPORTED=no
>
> Mine looks exactly like that now. I had "MII_NOT_SUPPORTED=yes" and
> changed it.
If yes was set by Mandrake, set it yes
>
>> Now you should be able to do a
>> service network restart
>> and
>> ifconfig
>> and route -n
>> show have values seen in /var/lib/dhcp/dhclient-eth1.leases
>
> I see those values in the right places.
>
>> if so, you should see where it fails
>> ping -c 1 (gateway_ip_here)
>
> Fails! Right there! Hasn't worked yet. I figure if I can't ping the
> gateway anything else is pretty much useless.
Yes, that is correct.
Let's assume your box is connected to a cable modem.
Unplug the power from the modem for 1 minute, by the watch.
If you have any equipment (router) in between, power reset it.
Post output from
cat /etc/sysconfig/network
cat /var/lib/dhcp/dhclient-eth1.leases
route -n
ifconfig
Also, Show me what your hardware hookup is:
192.168.1.1 pc1 node's gateway
192.168.1.14 pc1 node's ip
|
v
x pc1 printer 24.x.x.xx
x \ / |
x \ / v
x Hub---------eth1_fw_eth0---cablemodem-----ISPgateway---Internet
x / ^ ^
x / | |
x pc2 192.168.1.1 ggg.ggg.ggg.1
^ lan gateway
|
192.168.1.12 pc2 node's ip
192.168.1.1 pc2 node's gateway
- Next message: Skylar Thompson: "Re: Switch connections"
- Previous message: Darryl: "Re: Internet Woes"
- In reply to: Darryl: "Re: Internet Woes"
- Next in thread: Darryl: "Re: Internet Woes"
- Reply: Darryl: "Re: Internet Woes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|