On Tue, 26 May 2009, Mehul Ved wrote:
On Tue, May 26, 2009 at 7:22 AM, Dr. Sharukh K. R.
Pavri.
<lists(a)pavri.net> wrote:
I am using Hathway cable internet where they bind
your ip settings to your
pc. If I unplug the lan cable from the pc and plug it into my laptop, I
cannot browse. They are using some sort of dhcp with a static ip (I know
that sounds funny - but that's what they say).
I do face this a lot of times too. I have tried to ask them many times
as to the logic of the same and if they could disable it in my case.
But, it all fell on deaf ears.
When I called the helpdesk, they said what I need
to do is release the ip
from my machine and then renew it on my laptop. something like ipcfg
release and then ipcfg renew. The guy obviously has no clue how to do it
in linux.
What would be the equivalent in linux. I am using debian 5 and kubuntu
9.04 on the two machines.
There would be quite a few ways.
If you're using NetworkManager, disconnect from the wired connection
or right click and disable networking.
If you're using dhclient, you are looking at the -r switch
dhclient -r eth0, for example.
Here's the snippet from the manpage
" The client normally doesn?t release the current lease as it is not
required by the DHCP protocol. Some cable ISPs require their clients
to notify the server if they wish to release an assigned IP address.
The -r flag explicitly releases the current lease, and once the lease
has been released, the client exits."
In case you want more specific help, you will need to let us know as
to which tool you are using to connect.
I am not using dhclient (don't even have it installed). In fact when I
last installed linux on my machine, it didn't ask me for all the details
for networking as in previous installs. So what is picking up the details
even on a fresh install ?
<OffTopic>
Have you received any message from Hathway asking about disclosure of
wireless devices in your house, as per TRAI directive?
</OffTopic>
Not that I know of.
regards,
Sharukh.
--
Dr. Sharukh K. R. Pavri. Homoeopath, Linuxer.
My mind is like a steel trap, rusty and illegal in 37 states.