WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: raspberry PI as a data server connected via GPRS USB to the internet?  (Read 6304 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
hello,
I am thinking about using a raspberry board a colleague will give to me:
- usb gprs modem connected to it (udev, usb_modeswitch, wvdial or pppd)
- ssh on it
- setup with text mode only (no X) for use as a data server (iptables)
Do you think this is valuable?
And: how to install TinyCoreARM on that board with my TinyCoreLinux knowledge? (I did not find any install advice in the wiki).
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Most of the extensions you are referring are missing in the repo. So at the moment you must add them to your installation.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10992
With the completely unreliable USB of the Pi, I wouldn't expect such a box to have a stable connection.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
In 3.8.y USB behaves much better than in the early time. I have friend using Raspbian with an USB attached hard disk as a server without any problem while he is having issus with SD cards. With diofferent SD cards system is freezing frequently while no stability problems with the HD.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: raspberry PI as a data server connected via GPRS USB to the internet?
« Reply #4 on: August 02, 2013, 02:51:01 AM »
Just an articel you my find interesting:

How to Add USB Storage to the Raspberry Pi
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline keksl22

  • Newbie
  • *
  • Posts: 8
HI!
I see there wasn't any activity on this topic, but my question is related to that: Are there any updates on pppd?

Or are there any other tools I can use to send AT commands and get a ppp0 back for iptable calls?

Some more details:
I use Tinycore on an x86 industrial board as a small samba server & internet router for roughly 4 years now. It runs rock solid - no troubles so far. I connect to the internet using an USB UMTS dongle (HUAWEI E180) with usbserial and pppd. There are two files i copy to /etc/ppp/peers/
one for chat and the other for ppp. ETH0 is my network card towards the Windows and Linux Clients, iptable scripts filter for allowed clients and ports, etc.

Now I'd like to exchange that box with RPI running piCore with SSH for maintenance etc. I downloaded several TCZ extensions, piCore happily detects the HUAWEI E180 and creates the /dev/ttyUSB0...ttyUSB2 entries. I can send AT commands using microcom. So far no troubles during detection.

But how to continue? Do you have any tool names that are available in the repository (did not see a "pppd" extension...)

Any help highly appreciated!

** Thanks folks!  TinyCore and piCore is so much fun!

cheers,
Axel

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
I can add pppd if you are ready to test it, as I do not have hw to play with.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline keksl22

  • Newbie
  • *
  • Posts: 8
Great news!
Yes, of course, I'm happy to test it! I have everything in place!   :D

Offline keksl22

  • Newbie
  • *
  • Posts: 8
Hi bmarkus,

any news about the pppd? How's it going?

Thanks!