Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I have a computer running voyage-linux (debian-based), running in a car that travels from cities to cities for my company. Each building has its own internal subnet and wifi ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    72

    dhcp3 client configuration question

    Hi,

    I have a computer running voyage-linux (debian-based), running in a car that travels from cities to cities for my company. Each building has its own internal subnet and wifi network within the companies wan.

    The computer starts when the car starts. If it starts in city X, it will get an ip address given by the local dhcp server. When the car arrives in city y, I need it to transfer the data that it got on the road. Problem is it won't get a new ip address from the local wifi network. It keeps the old ip address from the original city, until the lease is expired or renewed or rebinded (not sure how exactly), which takes too much time in most cases.

    So until the car is stopped and restarted I don't get data, which is a problem.

    I'm using dhcp3-client, and also tried before with pump.

    Is there any way to tell the computer to retry getting an address when it can't ping the network anymore?

    Thanks.

    Olivier.

  2. #2
    Just Joined! jheaton5's Avatar
    Join Date
    Sep 2009
    Location
    Sharpsburg, GA, USA
    Posts
    18
    I don't know how much control you have over the computer. Does this have to work automatically or is there user that can send commands via command line? If you have access to the command line access to the operating system try this:
    Code:
    # ifdown wlan0
    # ifup wlan0

  3. #3
    Just Joined!
    Join Date
    Mar 2011
    Location
    Birmingham, UK
    Posts
    13
    If you know your way around linx, you could try installing network-manager-gnome and wicd, with the wifi plugins. This should automatically detect when you change from one WiFi network to another and renew the lease. However, whether or not this will work, also depends on the WiFi hardware you have. If you could post the output of lspci here, then I may be able to advise further.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •