F5F Stay Refreshed Software Operating Systems Connect WiFi 5 to eth0 via command line on Linux

Connect WiFi 5 to eth0 via command line on Linux

Connect WiFi 5 to eth0 via command line on Linux

M
MrAzazazaza
Member
222
04-06-2016, 04:05 AM
#1
Asking a straightforward question. You're using a Raspberry Pi with Raspbian Lite and want to link your PC to the internet without a long Ethernet cable. Since it's not a desktop OS, you'll need alternative methods like Wi-Fi or mobile hotspot.
M
MrAzazazaza
04-06-2016, 04:05 AM #1

Asking a straightforward question. You're using a Raspberry Pi with Raspbian Lite and want to link your PC to the internet without a long Ethernet cable. Since it's not a desktop OS, you'll need alternative methods like Wi-Fi or mobile hotspot.

B
BOSSARI123
Junior Member
45
04-09-2016, 10:44 PM
#2
This version is a bit outdated but should remain functional. For a more current reference, visit the arch wiki at https://wiki.archlinux.org/index.php/Rou...on_sharing
B
BOSSARI123
04-09-2016, 10:44 PM #2

This version is a bit outdated but should remain functional. For a more current reference, visit the arch wiki at https://wiki.archlinux.org/index.php/Rou...on_sharing

I
iiSweeTzz
Posting Freak
862
04-15-2016, 02:48 AM
#3
I attempted both approaches today but none resolved the issue. The initial link didn’t offer a restart option, and the second one was overly complex for my understanding. Do you have other suggestions?
I
iiSweeTzz
04-15-2016, 02:48 AM #3

I attempted both approaches today but none resolved the issue. The initial link didn’t offer a restart option, and the second one was overly complex for my understanding. Do you have other suggestions?

L
liang_hao_yan
Member
221
04-15-2016, 04:12 AM
#4
sudo systemctl enable iptables sudo systemctl start iptables Then store your rules: iptables-save -f /etc/iptables/iptables.rules Finally, apply the saved rules: iptables-restore /etc/iptables/iptables.rules
L
liang_hao_yan
04-15-2016, 04:12 AM #4

sudo systemctl enable iptables sudo systemctl start iptables Then store your rules: iptables-save -f /etc/iptables/iptables.rules Finally, apply the saved rules: iptables-restore /etc/iptables/iptables.rules

D
DarkBoy__YT
Posting Freak
898
04-15-2016, 11:57 AM
#5
It might be smarter to add a Desktop Environment to the Pi for easier setup with a GUI. Raspberry Pi Lite doesn’t include one by default, but you can install it quickly. Even a simple lightweight option or a tiling window manager works well.
D
DarkBoy__YT
04-15-2016, 11:57 AM #5

It might be smarter to add a Desktop Environment to the Pi for easier setup with a GUI. Raspberry Pi Lite doesn’t include one by default, but you can install it quickly. Even a simple lightweight option or a tiling window manager works well.

A
Alpha_Rex12
Junior Member
11
04-15-2016, 08:25 PM
#6
There are plenty of options available, but you won’t need to reinstall anything.
A
Alpha_Rex12
04-15-2016, 08:25 PM #6

There are plenty of options available, but you won’t need to reinstall anything.

C
Crazy_Heaven
Posting Freak
811
04-15-2016, 09:30 PM
#7
It seems like a lightweight option would be best, given the Pi setup and your plans. I recommend xfce, lxde, or mate. Set up a display manager so you can use a graphical login screen and pick the DE instead of managing `startx`. Just install lightdm and turn it on with `sudo systemctl enable lightdm.service`. Once done, you can turn it off or remove it completely if needed.
C
Crazy_Heaven
04-15-2016, 09:30 PM #7

It seems like a lightweight option would be best, given the Pi setup and your plans. I recommend xfce, lxde, or mate. Set up a display manager so you can use a graphical login screen and pick the DE instead of managing `startx`. Just install lightdm and turn it on with `sudo systemctl enable lightdm.service`. Once done, you can turn it off or remove it completely if needed.

M
Mike_MC
Junior Member
16
04-16-2016, 04:20 AM
#8
The specified files do not appear to exist in the given locations.
M
Mike_MC
04-16-2016, 04:20 AM #8

The specified files do not appear to exist in the given locations.