Follow me on LinkedIn Follow me on Spotify  

dae's weblog

there's no fiction like non-fiction!
  • Home
  • BlackBerry
  • iPhone
  • laptop
  • Prius
  • wishlist
  • random password
  • social networking
  • contact
en nl 
Home > biz, com > #Ubuntu as #PPP #dialin server with a #modem

#Ubuntu as #PPP #dialin server with a #modem

June 27th, 2009 Dae Punt Leave a comment Go to comments

This information is also available in: Nederlands

Imagine: You’re runing an Ubuntu box with a modem connected to it. You don’t want to use it for dialing out to the internet (that’s how it was done last millennium), but you want to set it up as a dial-in server. It’s strange, but most of the online manuals I found don’t cover this, so I will.

You need to configure a PPP dialin server and we’ll do exactly that in the next few steps:

  1. You need mgetty. Install mgetty by using the following command:

    sudo apt-get install mgetty

  2. Copy /etc/event.d/tty1 to /etc/event.d/ttyS0 (ttyS0 = COM1; ttyS1 = COM2 etc). The last line of /etc/ttyS0 contains a line that goes like:

    exec /sbin/getty 38400 tty1

    Change it, so it says:

    exec /sbin/mgetty -s 57600 -D /dev/ttyS0

  3. If you have an /etc/ppp/options, back it up by using the following command:

    sudo mv /etc/ppp/options /etc/ppp/options.bak

    and make sure /etc/ppp/options looks like this:

    lock
    10.0.0.1:10.0.0.2 #The first address is the address you can use to access your server and the second address is the one that is asigne to your PC after the connection comes up

  4. Make sure to create an /etc/ppp/options.ttyS0 with the following content:

    10.0.0.1:10.0.0.2

    That’s it. Nearly done.

  5. The last thing on our list is to define dialin users in /etc/ppp/pap-secrets. Remember: this file is (or should be) protected. Use:

    sudo nano -w /etc/ppp/pap-secrets

    to change it. Make sure it has the following line somewhere:

    user        *        password        *

    Example:

    johndoe        *        secret        *

Done! Let me know if it worked for you.

Share
Categories: biz, com Tags: dialin, foc, Linux, modem, pap-secrets, ppp, security, support, tip, ttyS0, ttyS1, ubuntu
@LauraChappell University Projects Page #WireShark #Twitter @TweetDeck #WPML 1.0.2 for #WordPress is out!
RSS
HootSuite - Social Media Dashboard

willekeurig wachtwoord

77WUiuNO

tweet!

  1. Hansje Kalff
    Hansje Kalff: @daepunt Echt waar? Kan me niet vlug genoeg gaan. Wanneer zien we elkaar?
    about 2 hours ago

  2. Dae Punt
    Dae Punt: @HansjeKalff @eetschrijver Als je een uurtje wacht, dan heeft Twitter de DM spam zelfs automagisch verwijderd...
    about 2 hours ago

  3. Dae Punt
    Dae Punt: @LLn88 Viooltjes zijn cool (-:
    about 2 hours ago

tags

#socialnetworking 03 2012 @helzer @WPMU alpha Android APC backup bug citrix cloud encryption event flash foc Foursquare Google Analytics google docs language Microsoft Hyper-V nightly build online out Palm phishing PHP politics pre-alpha report Shazam statistics syncsort technology TFTP tip trace tweetdeck ups VMware ESX wireshark WordPress MU xen xenserver Yahoo!Pipes

RSS dae’s leeslijst

  • rowaldp: Toch wel geinig om te zien wie er multimiljonair wordt als Facebook naar de beurs gaat. http://t.co/gljGGVtV #facebook #ipo
  • TweetSmarter: Using Twitter in emergency planning http://t.co/q0zGRVHe
  • iphonehackx: iOS 5.1.1 Fixes URL Spoofing Vulnerability in Safari http://t.co/PFvX0OWp
  • slashdot: HP Ships Switches With Malware Infected Flash Cards http://t.co/BZ4iBYMb
  • TweetSmarter: Twitter gives key MySQL work to the world: http://t.co/BGFyJGhp r/t
  • blackberryking: ☉ Angry Birds Space now available for the BlackBerry PlayBook! http://t.co/TYSDSCOM
  • Rabobank: Goed nieuws voor BlackBerry gebruikers! De Rabo Bankieren App is ge-update. Versie 2.0.0 is vanaf nu te downloaden in de #BB App World
  • slashdot: FTC Fines RockYou $250,000 For Storing User Data In Plain Text http://t.co/bZIfeTul
  • wpml: WooCommerce Multilingual 1.1 Beta Released http://t.co/hWyTfAr5
  • NetGeNoten: Na een drukke en mooie #iPaddag is het leuk om de vele leuke en informatieve tweets terug te lezen http://t.co/sEDXgQj0

RSS handig

  • Google NCR - No Country Redirect
  • Apple - Support - iTunes - Contact Us
  • Adding Bookmarklets on iPad and iPhone
  • Chromium OS builds by Hexxeh
  • Microsoft Action Pack
  • Backup Exec updates, Service Packs and Drivers
  • Naming Conventions for Google Apps Resources
  • SocialOomph
  • Voeg jouw bedrijf toe als LinkedIn Company
  • Microsoft Exchange Server Remote Connectivity Analyzer
  • IP Subnet Calculator
  • Apple iOS Latest Firmware
  • Convert Dell Service Tag to Express Service Code
  • NK2-bestanden importeren naar Outlook 2010
  • AVM Fritz!Box 7340 en XS4ALL over IPv6
  • MS File Checksum Integrity Verifier FCIV
  • How to access/enter Motherboard BIOS
  • Are You Certifiable?
  • NFGDump
  • φ² project

RSS support

  • Google NCR - No Country Redirect
  • Dell Support Center | Dell
  • Update Dell Bios in Ubuntu « Thoughtsdaily
  • Apple - Support - iTunes - Contact Us
  • Backup Exec updates, Service Packs and Drivers
  • Microsoft Exchange Server Remote Connectivity Analyzer
  • Convert Dell Service Tag to Express Service Code
  • NK2-bestanden importeren naar Outlook 2010
  • AVM Fritz!Box 7340 en XS4ALL over IPv6
  • MS File Checksum Integrity Verifier FCIV

RSS unfiled

  • An error has occurred; the feed is probably down. Try again later.

links

  • @vark
  • AAB
  • AAB CC
  • AMEX
  • Analytics
  • Apple Dev Center
  • bit.ly
  • Brightkite
  • Byte
  • cli.gs
  • del.icio.us
  • Dipity
  • Docs
  • Facebook
  • FeedBurner
  • Flickr
  • Fortis Bank
  • FriendFeed
  • gdgt
  • Google Wave
  • Hyves
  • Klout
  • LinkedIn
  • MailChimp
  • Mobypicture
  • MySkyStatus
  • MySpace
  • Orkut
  • OV-chip
  • ping.fm
  • Plaxo
  • PostPost
  • rss-en
  • rss-nl
  • Seesmic
  • Skype
  • threadsy
  • TwAnalyzer
  • TweetStats
  • Twitnest
  • Twitter
  • TwitterFeed
  • Woopra
  • WordPress
  • Y!M
  • Y!P
  • Youtube

RSS ooklog

  • Sara Lijftogt
  • Wegert & Sadocco Galerie
  • Willem Hendriks
  • Viktor Baltus
  • Rotary Anna Paulowna e.o.
  • Roelien Hendriks
  • Per van Duijn (under)
  • Nigel Prins
  • Martin Broerse
  • Maria Mink

archive

  • March 2012 (1)
  • February 2012 (1)
  • June 2011 (1)
  • March 2011 (1)
  • February 2011 (1)
  • September 2010 (1)
  • June 2010 (1)
  • May 2010 (2)
  • February 2010 (3)
  • January 2010 (1)
  • December 2009 (3)
  • November 2009 (2)
  • October 2009 (1)
  • September 2009 (6)
  • August 2009 (4)
  • July 2009 (18)
  • June 2009 (15)
  • May 2009 (1)
Top WordPress
Copyright © 2003-2012 dae's weblog
Theme by NeoEase. Valid XHTML 1.1 and CSS 3.