LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2011, 07:58 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
using both "fixed IP" and DHCP on the same laptop


My primary laptop goes walk-about very often and so it needs DHCP
and extreme flexibility for whatever junk passes for public internet access points. For a very few of the nets that I visit -- including my home LAN -- I want or need a fixed IP address.

Can someone tell me how to do for my Ubuntu workstations?

I had an app for that other workstation software that let me configure various "profiles". I could have a HOME_LAN, HOME_WALKING, PLACE_??? and WALK_ABOUT profiles. For each, there could be configured IP or DHCP and DNS etc as well as available printers and other services. I would select a profile, make it active, and work away. When my needs changed, I simply changed profiles.

I'm running WICD on Ubuntu Lucid (because net-manager did not behave well with my wifi hardware) and it remembers SSID's but not true "profiles." I hope someone can point me in the right direction.

Thanks in advance,
~~~ 0;-Dan
 
Old 11-30-2011, 12:56 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Honestly if I were you, skip all of that "profile" crap and do it from your router. What kind of wireless router do you have? On my main home network for my wireless, I have static DHCP leases per MAC address. Each time I connect to my access point, I am using DHCP, yet I am assigned the same IP address every time because of the static lease I have configured.

Cheers,

Josh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(ubuntu) "Tor exited" - why not fixed in vidalia package? Xl1NntniNH7F Linux - Software 4 07-13-2011 11:16 PM
"Keep laptop running on lid close?" + "ssh via crossover cable?" FatalKeystroke Linux - Laptop and Netbook 7 03-11-2011 07:53 AM
can't open default font "fixed" (problem solved,it's so silly) jimmerlin Linux From Scratch 1 11-24-2008 08:24 PM
Chinese laptop "Founder"," unichrome Pro" graph card drivers? Sirr Linux - Laptop and Netbook 3 07-14-2007 01:31 AM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration