Alpine Linux on a one board computer
#1
Fri, 2014-03-14 10:54
Mohammed_Ahmed
-
- Offline
- 4 years 2 weeks ago
- 2014-03-14
I want to use Alpine Linux on a CF card of 1 Gb. The whole purpose is to install a packet sniffer on it, Wireshark is the one I have in mind. Fistly, I installed Alpine Linux on a Virtual machine using VirtualBox. I wanted to have the Gnome Desktop environment installed so that I can install Wireshark afterwards. The wiki page http://wiki.alpinelinux.org/wiki/Gnome_Setup tells me to enter the command setup-xorg-base, but that returns an error saying: Unsatisfiable constraints, xorg-server and other stuff are required by world...How to solve this?
Hi Mohammed,
sounds like you might not have a working network config or any repo's set.
Try doing:
setup-interfaces
You'll probably need to restart networking afterwards (warning, you may lose connectivity):
rc-service networking restart
Then setup a repo:
setup-apkrepos
Once you have this working you should be able to pull in the packages you require.
Good luck!
Also, if you just want a packet sniffer, tcpdump should do......you could set it to write captures to a file and so once they're saved to disk, move them to another device for review in Wireshark. This way the Alpine device can focus on only capturing packets. Just an idea.
First modify your repositories following https://wiki.alpinelinux.org/wiki/Enable_Community_Repository
then follow https://wiki.alpinelinux.org/wiki/Gnome_Setup
At the step apk add just install first apk add alpine-desktop lxdm then try to install gnome-base