from small one page howto to huge articles all in one place
 

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

81987

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tutorials per portage category->app-admin->quickswitch

Roaming network profiles for laptops with Quickswitch

Every Laptop user knows what I am talking about by saying that switching network profiles is a real problem and hard to keep track of when doing it manually. This is where Quickswitch comes in. Quickswitch is a utility that not only makes laptop users' everyday life easier by letting them create and use roaming network profiles, but it also has built-in support for multiple network cards, wireless LAN configurations, different kernel parameters, support for X configurations, Netscape preferences, Samba shares and so on and so forth.

Sounds good? Want to learn how to use it? Read on:

Installing Quickswitch

Use your distribution's install program to install Quickswitch.

Now we need to tell quickswitch about all the network settings we want to be able to switch to. Quickswitch can be configured using the configuration file - /etc/quickswitch/switchto.conf. There is also a sample configuration in /etc/quickswitch/switchto.conf.sample.

Code Listing 1: Setting up the quickswitch configuration in /etc/quickswitch/switchto.conf

// # This is the default configuration:  
[config]  
device=eth0  
// # Path to save last known good configuration...  
servicefilename=/etc/quickswitch/switchto.last  
  
// # This is our profile called "home":  
[home]  
description=home  
address=192.168.0.25  
netmask=255.255.255.0  
gateway=192.168.0.1  
dns1=195.62.99.42  
dns2=195.62.97.177  
  
// # This is our profile called "work":  
[work]  
description=work  
address=10.16.3.114  
netmask=255.255.255.0  
gateway=10.16.3.249  
dns1=195.62.99.42

We are finished with the configuration now. Let's test if it works.

Code Listing 2: Using switchto to switch to another profile

// Switch to "work" profile:  
# switchto work  
// Switch to "home" profile:  
# switchto home

Use ifconfig and route to make sure that switchto correctly applied the settings the first time. Everythings ok? Well done!

Quickswitch offers two more ways of how to switch your profile.

switcher is a simple curses based GUI to switch between your profiles.

TraySwitcher is a more sophisticated Gnome tray applet.

To learn how Quickswitch easily lets you create profiles that also switch Samba, X configurations and even more. Take a look at the well documented /etc/quickswitch/switchto.conf.sample sample configuration file and visit the Quickswitch project homepage.

From: http://www.gentoo.org/news/en/gwn/20040927-newsletter.xml


rate this article:
current rating: average rating: 1.3 (29 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2025-11-08
amazon-ecr-credential-helper - 0.11.0
Ebuild name:

app-containers/amazon-ecr-credential-helper-0.11.0

Description

Automatically gets credentials for Amazon ECR on

Added to portage

2025-11-08

awscli - 1.42.69
Ebuild name:

app-admin/awscli-1.42.69

Description

Universal Command Line Environment for AWS

Added to portage

2025-11-08

bats - 1.13.0
Ebuild name:

dev-util/bats-1.13.0

Description

Bats-core Bash Automated Testing System

Added to portage

2025-11-08

boto3 - 1.40.69
Ebuild name:

dev-python/boto3-1.40.69

Description

The AWS SDK for Python

Added to portage

2025-11-08

botocore - 1.40.69
Ebuild name:

dev-python/botocore-1.40.69

Description

Low-level, data-driven core of boto 3

Added to portage

2025-11-08

bspwm - 0.9.12
Ebuild name:

x11-wm/bspwm-0.9.12

Description

Tiling window manager based on binary space partitioning

Added to portage

2025-11-08

cargo-audit - 0.22.0
Ebuild name:

dev-util/cargo-audit-0.22.0

Description

Audit Cargo.lock for crates with security vulnerabilities

Added to portage

2025-11-08

cheroot - 11.1.2
Ebuild name:

dev-python/cheroot-11.1.2

Description

High-performance, pure-Python HTTP server used by CherryPy

Added to portage

2025-11-08

clang - 22.0.0_pre20251108
Ebuild name:

dev-python/clang-22.0.0_pre20251108

Description

Python bindings for llvm-core/clang

Added to portage

2025-11-08

clang - 22.0.0_pre20251108
Ebuild name:

llvm-core/clang-22.0.0_pre20251108

Description

C language family frontend for LLVM

Added to portage

2025-11-08

clang-common - 22.0.0_pre20251108
Ebuild name:

llvm-core/clang-common-22.0.0_pre20251108

Description

Common files shared between multiple slots of clang

Added to portage

2025-11-08

claude-code - 2.0.35
Ebuild name:

dev-util/claude-code-2.0.35

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2025-11-08

coverage - 7.11.1
Ebuild name:

dev-python/coverage-7.11.1

Description

Code coverage measurement for Python

Added to portage

2025-11-08

cython-test-exception-raiser - 25.11.1
Ebuild name:

dev-python/cython-test-exception-raiser-25.11.1

Description

A trivial extension that just raises an exception (

Added to portage

2025-11-08

flang - 22.0.0_pre20251108
Ebuild name:

llvm-core/flang-22.0.0_pre20251108

Description

LLVM's Fortran frontend

Added to portage

2025-11-08

gscan2pdf - 2.13.5
Ebuild name:

media-gfx/gscan2pdf-2.13.5

Description

Scan documents, perform OCR, produce PDFs and DjVus

Added to portage

2025-11-08

hcloud - 2.10.0
Ebuild name:

dev-python/hcloud-2.10.0

Description

Official Hetzner Cloud python library

Added to portage

2025-11-08

ibus-typing-booster - 2.28.3
Ebuild name:

app-i18n/ibus-typing-booster-2.28.3

Description

Completion input method for IBus

Added to portage

2025-11-08

inline-snapshot - 0.31.1
Ebuild name:

dev-python/inline-snapshot-0.31.1

Description

Create and update inline snapshots in your Python tests

Added to portage

2025-11-08

libclc - 22.0.0_pre20251108
Ebuild name:

llvm-core/libclc-22.0.0_pre20251108

Description

OpenCL C library

Added to portage

2025-11-08

lit - 22.0.0_pre20251108
Ebuild name:

dev-python/lit-22.0.0_pre20251108

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2025-11-08

lld - 22.0.0_pre20251108
Ebuild name:

llvm-core/lld-22.0.0_pre20251108

Description

The LLVM linker (link editor)

Added to portage

2025-11-08

lldb - 22.0.0_pre20251108
Ebuild name:

llvm-core/lldb-22.0.0_pre20251108

Description

The LLVM debugger

Added to portage

2025-11-08

llvm - 22.0.0_pre20251108
Ebuild name:

dev-ml/llvm-22.0.0_pre20251108

Description

OCaml bindings for LLVM

Added to portage

2025-11-08

llvm - 22.0.0_pre20251108
Ebuild name:

llvm-core/llvm-22.0.0_pre20251108

Description

Low Level Virtual Machine

Added to portage

2025-11-08

llvm-common - 22.0.0_pre20251108
Ebuild name:

llvm-core/llvm-common-22.0.0_pre20251108

Description

Common files shared between multiple slots of LLVM

Added to portage

2025-11-08

mlir - 22.0.0_pre20251108
Ebuild name:

llvm-core/mlir-22.0.0_pre20251108

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2025-11-08

nginx - 1.29.3
Ebuild name:

www-servers/nginx-1.29.3

Description

Added to portage

2025-11-08

openpgp-keys-unbound - 20251107
Ebuild name:

sec-keys/openpgp-keys-unbound-20251107

Description

OpenPGP keys used by unbound

Added to portage

2025-11-08

pgFormatter - 5.8
Ebuild name:

dev-db/pgFormatter-5.8

Description

PostgreSQL SQL syntax beautifier

Added to portage

2025-11-08

phonenumbers - 9.0.18
Ebuild name:

dev-python/phonenumbers-9.0.18

Description

Python port of Google's libphonenumber

Added to portage

2025-11-08

polly - 22.0.0_pre20251108
Ebuild name:

llvm-core/polly-22.0.0_pre20251108

Description

Polyhedral optimizations for LLVM

Added to portage

2025-11-08

pyglet - 2.1.11
Ebuild name:

dev-python/pyglet-2.1.11

Description

Cross-platform windowing and multimedia library for Python

Added to portage

2025-11-08

signal-desktop-bin - 7.78.0
Ebuild name:

net-im/signal-desktop-bin-7.78.0

Description

Allows you to send and receive messages of Signal Messenger on you

Added to portage

2025-11-08

spirv-llvm-translator - 22.0.0_pre20251107
Ebuild name:

dev-util/spirv-llvm-translator-22.0.0_pre20251107

Description

Bi-directional translator between SPIR-V and LLVM

Added to portage

2025-11-08

ssdeep - 2.14.1-r1
Ebuild name:

app-crypt/ssdeep-2.14.1-r1

Description

Computes context triggered piecewise hashes (fuzzy hashes)

Added to portage

2025-11-08

ssss - 0.5.7-r3
Ebuild name:

app-crypt/ssss-0.5.7-r3

Description

Shamir's Secret Sharing Scheme

Added to portage

2025-11-08

stan - 0.4.1-r1
Ebuild name:

app-crypt/stan-0.4.1-r1

Description

Stan analyzes binary streams and calculates statistical information

Added to portage

2025-11-08

steve - 9999
Ebuild name:

dev-build/steve-9999

Description

A simple jobserver for Gentoo

Added to portage

2025-11-08

stoken - 0.92-r3
Ebuild name:

app-crypt/stoken-0.92-r3

Description

Software Token for Linux/UNIX

Added to portage

2025-11-08

swtpm - 0.10.0
Ebuild name:

app-crypt/swtpm-0.10.0

Description

Libtpms-based TPM emulator

Added to portage

2025-11-08

systemd - 258.2
Ebuild name:

sys-apps/systemd-258.2

Description

System and service manager for Linux

Added to portage

2025-11-08

telegram-desktop-bin - 6.2.4-r1
Ebuild name:

net-im/telegram-desktop-bin-6.2.4-r1

Description

Official desktop client for Telegram (binary package)

Added to portage

2025-11-08

unbound - 1.24.1-r1
Ebuild name:

net-dns/unbound-1.24.1-r1

Description

A validating, recursive and caching DNS resolver

Added to portage

2025-11-08

unicode-cldr - 48.0
Ebuild name:

app-i18n/unicode-cldr-48.0

Description

Unicode Common Locale Data Repository

Added to portage

2025-11-08

uv - 0.9.8
Ebuild name:

dev-python/uv-0.9.8

Description

A Python package installer and resolver, written in Rust

Added to portage

2025-11-08

uv-build - 0.9.8
Ebuild name:

dev-python/uv-build-0.9.8

Description

PEP517 uv build backend

Added to portage

2025-11-08

yt-dlp-ejs - 0.3.1
Ebuild name:

dev-python/yt-dlp-ejs-0.3.1

Description

External JavaScript for yt-dlp supporting many runtimes

Added to portage

2025-11-08

zdkimfilter - 3.23
Ebuild name:

mail-filter/zdkimfilter-3.23

Description

DKIM filter for Courier-MTA

Added to portage

2025-11-08

zope-event - 6.1
Ebuild name:

dev-python/zope-event-6.1

Description

Event publishing / dispatch, used by Zope Component Architecture

Added to portage

2025-11-08

2025-11-07
aioitertools - 0.13.0
Ebuild name:

dev-python/aioitertools-0.13.0

Description

itertools and builtins for AsyncIO and mixed iterables

Added to portage

2025-11-07

asteval - 1.0.7
Ebuild name:

dev-python/asteval-1.0.7

Description

Evaluator of Python expression using ast module

Added to portage

2025-11-07

badkeys - 0.0.15
Ebuild name:

app-crypt/badkeys-0.0.15

Description

Check cryptographic keys for known weaknesses

Added to portage

2025-11-07

borgbackup - 1.4.2-r1
Ebuild name:

app-backup/borgbackup-1.4.2-r1

Description

Deduplicating backup program with compression and authenticated encr

Added to portage

2025-11-07

cerberus - 1.3.8
Ebuild name:

dev-python/cerberus-1.3.8

Description

A lightweight and extensible data-validation library for Python

Added to portage

2025-11-07

chromium - 143.0.7499.17
Ebuild name:

www-client/chromium-143.0.7499.17

Description

Open-source version of Google Chrome web browser

Added to portage

2025-11-07

chromium - 143.0.7499.4
Ebuild name:

www-client/chromium-143.0.7499.4

Description

Open-source version of Google Chrome web browser

Added to portage

2025-11-07

django-crispy-forms - 2.5
Ebuild name:

dev-python/django-crispy-forms-2.5

Description

DRY Django forms

Added to portage

2025-11-07

dropbox - 236.4.5918
Ebuild name:

net-misc/dropbox-236.4.5918

Description

Dropbox daemon (pretends to be GUI-less)

Added to portage

2025-11-07

ena-driver - 2.16.0
Ebuild name:

net-misc/ena-driver-2.16.0

Description

Amazon EC2 Elastic Network Adapter (ENA) kernel driver

Added to portage

2025-11-07

ffmpeg-chromium - 143
Ebuild name:

media-video/ffmpeg-chromium-143

Description

FFmpeg built specifically for codec support in Chromium-based brows

Added to portage

2025-11-07

flask-compress - 1.23
Ebuild name:

dev-python/flask-compress-1.23

Description

Compress responses in your Flask app with gzip

Added to portage

2025-11-07

girara - 0.4.5-r1
Ebuild name:

dev-libs/girara-0.4.5-r1

Description

UI library that focuses on simplicity and minimalism

Added to portage

2025-11-07

gn - 0.2289
Ebuild name:

dev-build/gn-0.2289

Description

GN is a meta-build system that generates build files for Ninja

Added to portage

2025-11-07

googleapis-common-protos - 1.72.0
Ebuild name:

dev-python/googleapis-common-protos-1.72.0

Description

Python classes generated from the common protos in the g

Added to portage

2025-11-07

grub - 2.14_rc1-r1
Ebuild name:

sys-boot/grub-2.14_rc1-r1

Description

GNU GRUB boot loader

Added to portage

2025-11-07

hishel - 1.1.4
Ebuild name:

dev-python/hishel-1.1.4

Description

An elegant HTTP Cache implementation for HTTPX and HTTP Core

Added to portage

2025-11-07

hypothesis - 6.147.0
Ebuild name:

dev-python/hypothesis-6.147.0

Description

A library for property based testing

Added to portage

2025-11-07

libnvme - 1.16.1
Ebuild name:

sys-libs/libnvme-1.16.1

Description

C Library for NVM Express on Linux

Added to portage

2025-11-07

libreoffice - 25.2.7.2-r1
Ebuild name:

app-office/libreoffice-25.2.7.2-r1

Description

A full office productivity suite

Added to portage

2025-11-07

omemo-dr - 1.0.1-r1
Ebuild name:

dev-python/omemo-dr-1.0.1-r1

Description

OMEMO Crypto Library

Added to portage

2025-11-07

poppler - 25.11.0
Ebuild name:

app-text/poppler-25.11.0

Description

PDF rendering library based on the xpdf-3.0 code base

Added to portage

2025-11-07

power_assert - 3.0.1
Ebuild name:

dev-ruby/power_assert-3.0.1

Description

Shows each value of variables and method calls in the expression

Added to portage

2025-11-07

prusaslicer - 2.9.4
Ebuild name:

media-gfx/prusaslicer-2.9.4

Description

A mesh slicer to generate G-code for fused-filament-fabrication (3D pri

Added to portage

2025-11-07

rivet - 4.1.2
Ebuild name:

sci-physics/rivet-4.1.2

Description

Rivet toolkit (Robust Independent Validation of Experiment and Theory)

Added to portage

2025-11-07

ruff - 0.14.4
Ebuild name:

dev-util/ruff-0.14.4

Description

An extremely fast Python linter, written in Rust

Added to portage

2025-11-07

runc - 1.2.8
Ebuild name:

app-containers/runc-1.2.8

Description

runc container cli tools

Added to portage

2025-11-07

runc - 1.3.3
Ebuild name:

app-containers/runc-1.3.3

Description

runc container cli tools

Added to portage

2025-11-07

signing-party - 2.11
Ebuild name:

app-crypt/signing-party-2.11

Description

A collection of several tools related to OpenPGP

Added to portage

2025-11-07

simple-tpm-pk11 - 0.06-r2
Ebuild name:

app-crypt/simple-tpm-pk11-0.06-r2

Description

Simple PKCS11 provider for TPM chips

Added to portage

2025-11-07

sqlite3 - 2.8.0
Ebuild name:

dev-ruby/sqlite3-2.8.0

Description

An extension library to access a SQLite database from Ruby

Added to portage

2025-11-07

tailscale - 1.90.6
Ebuild name:

net-vpn/tailscale-1.90.6

Description

Tailscale vpn client

Added to portage

2025-11-07

vivaldi-snapshot - 7.7.3851.25
Ebuild name:

www-client/vivaldi-snapshot-7.7.3851.25

Description

A browser for our friends

Added to portage

2025-11-07

wrapt - 2.0.1
Ebuild name:

dev-python/wrapt-2.0.1

Description

Module for decorators, wrappers and monkey patching

Added to portage

2025-11-07

zathura - 0.5.13
Ebuild name:

app-text/zathura-0.5.13

Description

Highly customizable & functional document viewer

Added to portage

2025-11-07

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 49.5 ms