Getting online / How to configure the network

If you have a DHCP server in your LAN and your computer is connected to it while booting up the Live-CD your network-settings should be configurated automatically - otherwise you need to start the sidux network configuration dialog: Click Kmenu>sidux>Network/Internet>Networkcard configuration.

netcardconfig

Or - if you don't like the graphical way, you could open a terminal,type

sudo
netcardconfig

and follow the prompts.

Activating Ndiswrapper

sidux has all needed packages installed already: the kernel module and the ndiswrapper-utils.

You need a "Windows" inf-file for the driver, find it and then load it:

ndiswrapper -i driver.inf

load the ndiswrapper-module:

modprobe ndiswrapper

and check, if it is installed correctly:

iwconfig
iwconfig wlan0 essid 'ESSID'

check, if the access-point was found:

iwlist wlan0 scan

then you can configure the card with:

netcardconfig

Desktop-PCs with 2 NIC's (Internet sharing)

To configure it to be able to get on the internet with a laptop (or other pc) with a minimal and simple solution:

Open a terminal and change to root with "sux" to be able to conduct the following steps.

Configure the first nic to be able to access the internet.

netcardconfig

For the second nic we choose a fixed IP-Address in a private domain, e.g.

192.168.1.1

Then also configure it with

netcardconfig

Please note: Your IP must be in the same subnet as the IP's that will be assigned by DHCP.

If by mistake a Gateway has been specified while configuring your network-interfaces, you will have to run the script

remove-gateway.sh

Setting up DHCP/DNS:

You have to edit the file by adding a line in /etc/dnsmasq.conf

dhcp-range=192.168.1.50,192.168.1.150

Leave the rest of the file as is.

The DHCP-Server on the Desktop-PC can now be started with

/etc/init.d/dnsmasq start
.

If the clients are now set to DHCP, an IP-Address will be assigned automatically.

To route the client's request to the Internet you must now run the script

/usr/sbin/masquerade.sh

After this every client should be able to join the internet.

To have this configuration by default when booting up the Desktop-PC: Activate dnsmasq in the boot-process with

unfreeze-rc.d 
update-rc.d -f dnsmasq defaults
freeze-rc.d

Run the masquerade-script with

echo "/usr/sbin/masquerade" >> /etc/init.d/bootmisc.sh

Connecting with a 56k Dial-up Modem

KDE has a front end for dial up modems called KPPP Internet Dial-up Tool, found in the main menu under Internet.

The application has an internal help manual built in and provides a comprehensive guide to setting up your modem to enable you to get on line.