In this series of articles, I’ll tell you how to make your portable Linux server from an EEE Pc 701 netbook capable of many tasks, like this:
- Distribution of 3G Internet from a USB modem (yes, in principle, even from a toaster) via a Wi-Fi card , plus the use of external proxies and VPN is transparent to the user
- Secure file server - virus protection and the like
- Checking Wi-Fi networks , and almost anything, password protected, for durability
- Voice alert system
- Voice recognition system and voice control respectively
- Portable media player and alarm clock
- Fixed telephone (I would like to use an internal modem)
- Server surveillance and streaming sound from a microphone - can sometimes be extremely useful if you need to eavesdrop on someone
- Device for repairing routers with flashing firmware , using TFTP and USB-UART converter, and a couple of scripts to facilitate their efforts
- A lot of interesting things that just come to mind.
Articles will be designed for those who are not afraid of computers and are willing to experiment. For experiments, I will choose the Asus EEE Pc 701 4G netbook with the Debian system - I got it with a broken screen at a symbolic price of $ 25, so I immediately set about trying to make a portable server out of it that could survive in rather harsh conditions. In principle, a laptop has nothing to lose in the fall, except for the hard drive and the screen, but the screen is broken, and the hard drive in this laptop is missing in principle - instead of it, there is a 4 GB flash drive inside, which will serve as the system drive. Batteries for this laptop are inexpensive, about $ 20 on dx.com, and I’m happy to buy a couple more, since they are small in size - all for portability. I also plan to do a little modding of this laptop - to solder internal USB ports, and connect something functional to them, like a Bluetooth adapter. Why do I need this?
- Portability. So many of the most necessary functions in my life in my bag are very convenient to have.
- Getting experience with the Debian system. I will not say, of course, that I don’t have it at all, but I still want more.
- A lot of fun when setting up and using - will be required.
- It will turn out just a cool gadget that will make life easier.
What is?
System Information:
Debian 7
uname -a:
> Linux localhost 3.2.0-4-486 # 1 Debian 3.2.41-2 i686 GNU / Linux
No desktop shell is installed, because it simply makes no sense - the screen is completely broken, and you can safely do everything you need via SSH. I will use the account root - it just does not make sense to create another one, since it is planned to set up the system once and not to use it again - is it then worth making an account for the user? My favorite programming language is Python, but for the program part I will use Bash - most of the Bash scripts are more convenient for Linux automation tasks.
A battery of indefinite capacity - it’s possible that I’m already significantly hooked, I can’t test it with Windows XP and Everest in order to get detailed information about the expected working time and so on. However, when the power saving is on and configured, it works for a relatively long time - about 2 hours.
')
- Wi-Fi card Atheros AR242x / AR542x
- 1 gigabyte of RAM
- 4 gigabytes on an SSD disk - oddly enough, it still works
- Modem for analog telephone line, built-in. I really had to find the right one and put it inside, but with a screwdriver, this is not a problem.
- Built-in speakers and microphone, Ethernet 100/10 Mbps, VGA-out, 3xUSB (+ 2 unsoldered inside), SATA - unsoldered inside
- 3G modem from one Latvian provider
- Patience
What is planned?
Make some iron netbook mods:
- Internal infrared port for remote control - it makes no sense to use SSH or keyboard blindly each time, but a small remote control would be perfect
- E-SATA port using non-soldered SATA pins on the motherboard
- Perhaps the banal expansion of the hard drive (flash drive for user data inside) and built-in Bluetooth.
Make an almost full-fledged portable server out of a laptop:
- Creating a WiFi access point
- Setting up a DHCP server
- Routing between two interfaces - external and local
- 3G modem connection
- Network boot for other machines
- CCTV
- File server
- Voice alert
Other purposes:
- Hydra for password selection and other things.
- A bunch of Aircrack, Reaver and other cool stuff - of course, pentesting and pentesting only
- CMU Sphinx based voice recognition system
- Playing music (well, why not?)
- To be continued
Required dopily:
- Energy saving setting
- Cleaning up the space on the hard disk (removing unnecessary packages and backup files, well, there on the little things)
- To be continued
So the question is.
Would the residents of Habrahabr like to read a series of articles on similar topics? I work on articles in my spare time and I hope that they will help Linux newbies to master the application of various packages in the conditions of such servers, possibly built-in or portable, like mine, and comprehend some of the most interesting parts of the designer, which are based on Linux Of course, these articles can be useful for the same portable computers based on the Raspberry Pi or other popular platforms - and indeed for everything that Linux can be installed on and connected to the network - the same
toasters are no exception. After these articles, I will probably start a book that will help a user who has never run into a Linux system, but has worked with Windows, to master Linux at least to the beginner level, but apparently this will be a topic for a separate blog - on Habré is still mostly people more or less familiar with this system or have an idea about it. Will be claimed or not? That is the question.