Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-16-2005, 03:56 PM   #1
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
Creating different network profiles for a laptop

I have a laptop with two cardbus cards:

1. Standard rtl-8139 -based 10/100Mbps ethernet card (used with DHCP and static addresses)

2. Rt2400-based 11Mbps wireless netword card (to connect to 2-3 different wireless routers)

Currently I use "ifplugd" for the 10/100Mbps ethernet. As "ifplugd" gets it interface info from /etc/network/interfaces, it can only cope with one configuration setting. So, to use DHCP on eth0 (not default), I have to reconfigure the interface manually (with dpkg-reconfigure etherconf) to make it work.

As for my wireless card, although the "Ralink utility" is quite good, if I know the (iwconfig) settings, I don't need it. Am I correct?

So to my question: is there some program or "Debian Way" of creating different network profiles for this kind of scenario? I don't mind activating the right profile manually... Or do I just write a bunch of scripts?

Thanks in advance!
Old 02-16-2005, 04:06 PM   #2
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
i've seen utilities that can store and then activate/deactivate network profiles. these are generally GUI apps to be run after boot (obviously).

i've been playing with my own scripting for slackware that probes the network and determines the configuration to use during boot. but i know that i want my machine to operate in this order:
1) static IP if plugged into home network (determined by MAC of server)
2) dynamic ip if plugged into remote network
3) static ip if wirelessly connected to home network (again - MAC test)
4) give up, leaving the user to connect to any wireless network available.

so the end result to your question:
it's a matter of preference on your part, perhaps a GUI util for managing profiles is what you want. or perhaps you'd be happy hacking your boot process. or perhaps you'd just rather deal with any network changes as you go to remote networks...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Multiple Network Profiles on a Laptop Bill Fox Linux - Laptop and Netbook 3 12-16-2004 08:22 PM
Network User profiles KHAAAN Linux - Networking 1 07-30-2004 05:34 PM
Creating hardware profiles strider68744 Linux - Newbie 3 02-12-2004 02:42 PM
Multiple Network Profiles vrillusions Linux - Networking 4 09-01-2003 07:27 PM
Using multiple network profiles? thas Linux - Networking 2 04-01-2003 12:02 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:18 PM.

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