Advertising

How To SparkyLinux CLI 3.4 and above

 

SparkyLinux CLI started from version 3.4 features only:
– core system of Debian testing
– network manager wicd-cli
– file manager, text editor and ftp client Midnight Commander
– web browser eLinks
– the old installer (sparkylinux-installer)
– set of wifi cards drivers
– unzip, unrar, p7zip-full, ntfs-3g, nano, ufw

How to make internet connection?
You can do it in 3 ways:

1. wicd-cli
Find available networks:
wicd-cli -y -l
Make connection:
wicd-cli --wireless -n [network-name] -m [ESSID] -c

Get more info:
wicd-cli --help
man wicd-cli

 

2. Manual way
Scan available devices:
iwlist scan
Edit ‘interfaces’ file:
nano /etc/natwork/interfaces
Wired device ‘eth0’ and dynamic IP:
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp

Wired device ‘eth0’ and dynamic IPv6:
auto eth0
allow-hotplug eth0
iface eth0 inet6 dhcp

Wired device ‘eth0’ and static IP (sample):
auto eth0
iface eth0 inet static
address 192.2.2.2
netmask 255.255.255.0
gateway 192.2.2.254

Wired device ‘eth0’ and static IPv6 (sample):
iface eth0 inet6 static
address 2001:db8::c0ca:1eaf
netmask 64
gateway 2001:db8::1ead:ed:beef

Start the network:
ifup eth0

 
Wireless device ‘wlan0’ and dynamic IP:
auto wlan0
iface wlan0 inet dhcp

Wireless device ‘wlan0’ and static IP:
auto wlan0
iface wlan0 inet dhcp
wpa-ssid
wpa-psk

Start the network:
ifup wlan0

Get more info:
ifdown --help
ifup --help

3. Wicd-curses
Started from Sparky 3.6, there is preinstalled ‘wicd-curses’ – a curses client for Wicd.

It needs something to add.

 
 
Back to -> FAQ main page
 

Advertising