Difference between revisions of "Software projects/OS/Slackware/Advanced usage/Network get started"

From Pandora Wiki
Jump to: navigation, search
(SL4P default setup)
Line 3: Line 3:
 
* You can set it up through a right-click on the Xfce desktop icon.
 
* You can set it up through a right-click on the Xfce desktop icon.
 
* It's not included in the stock Slackware.
 
* It's not included in the stock Slackware.
 +
 +
= Slackware friendly setup =
 +
* Wicd is included in the stock Slackware extra packages, and i shipped it in SL4P.
 +
* I tried it only a bit so i can't recommend it, or not.
 +
* If you want to give it a try, be root, then disable the network manager. Edit /etc/rc.d/rc.local and comment at the end:
 +
/etc/rc.d/rc.networkmanager start
 +
into
 +
#/etc/rc.d/rc.networkmanager start
 +
* Activate Wicd at boot:
 +
chmod +x /etc/rc.d/rc.wicd
 +
* Activate Wicd frontend under Xfce. Go in the menu -> Settings -> Session and Startup -> Application Autostart tab, then check "Wicd Network Manager Tray".
 +
* Reboot.
  
 
= Slackware default setup =
 
= Slackware default setup =
 
* Stock Slackware doesn't use the Network Manager, nor Wicd.
 
* Stock Slackware doesn't use the Network Manager, nor Wicd.
* If you want a non-graphical server setup, you can disable the network manager. Edit /etc/rc.d/rc.local and comment at the end:
+
* If you want a non-graphical server setup, you have to disable the network manager (and Wicd). Edit /etc/rc.d/rc.local and comment at the end:
 
  /etc/rc.d/rc.networkmanager start
 
  /etc/rc.d/rc.networkmanager start
 
into
 
into

Revision as of 23:43, 18 April 2012

SL4P default setup

  • The Network Manager, well, manages the connections, and ask for an IP address through a DHCP request.
  • You can set it up through a right-click on the Xfce desktop icon.
  • It's not included in the stock Slackware.

Slackware friendly setup

  • Wicd is included in the stock Slackware extra packages, and i shipped it in SL4P.
  • I tried it only a bit so i can't recommend it, or not.
  • If you want to give it a try, be root, then disable the network manager. Edit /etc/rc.d/rc.local and comment at the end:
/etc/rc.d/rc.networkmanager start

into

#/etc/rc.d/rc.networkmanager start
  • Activate Wicd at boot:
chmod +x /etc/rc.d/rc.wicd
  • Activate Wicd frontend under Xfce. Go in the menu -> Settings -> Session and Startup -> Application Autostart tab, then check "Wicd Network Manager Tray".
  • Reboot.

Slackware default setup

  • Stock Slackware doesn't use the Network Manager, nor Wicd.
  • If you want a non-graphical server setup, you have to disable the network manager (and Wicd). Edit /etc/rc.d/rc.local and comment at the end:
/etc/rc.d/rc.networkmanager start

into

#/etc/rc.d/rc.networkmanager start
  • Run as root:
netconfig
  • The hostname MUST BE:
darkstar

otherwise you'll break some Pandora scripts compatibility. Sudo won't launch anything with the wrong hostname.

  • Set you parameters.
  • Edit /etc/rc.d/rc.inet1.conf to finalize your setup.
  • Be sure to have all used interfaces plugged when booting. With the deactivation of the network manager, it's no more plug and play.