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
Comments are closed.
blog comments powered by Disqus
@LauraChappell University Projects Page #WireShark #Twitter @TweetDeck #WPML 1.0.2 for #WordPress is out!
RSS
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha
Twitter

random password

tajdjHjU

tweet!

  1. Louis Göhl
    Louis Göhl: RT @daepunt: And yes, there is the first #Android tablet! http://bit.ly/dmzl2p http://bit.ly/bZfJZa --> Nice!
    about 1 hour ago

  2. Dae Punt
    Dae Punt: And yes, there is the first #Android tablet! http://bit.ly/dmzl2p
    about 1 hour ago

  3. Dae Punt
    Dae Punt: @rpijpers @DigiGirl Ik weet het, maar ik dacht: laat ik alvast een TweetPhoto reserveren :-)
    about 1 hour ago

tags

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

RSS dae’s big catch

  • Expositie NUON28 Alkmaar
  • Gespot op PoP week-end
  • Dae debuteert bij theatergroep FLiNT
  • In Memoriam Willem Breuker
  • Open ateliers Markt 18
  • de Beus vs Beets
  • Fototentoonstelling in Markt 18
  • Dae en Jae
  • P.J.
  • Huug Jak uit de kast

RSS dae’s reading list

  • joostgeurtsen: Gute Nacht, Freunde, es wird Zeit für mich zu gehen. Was ich noch zu sagen hätte, dauert 140 tekens und ein letztes Glas im Stehen. #trusten
  • openbsd: Heads up! System python changed to 2.6 http://bit.ly/ab6LMQ
  • Blackberry_News: Starbucks Card mobile app now available for BlackBerry devices: Starbucks consumers can now check and reload their... http://bit.ly/b7Uku6
  • TweetSmarter: #New Twitter for iPad Reviewed: http://j.mp/c9iJ24 …Official announcement: http://j.mp/dCEAf3
  • SlashSimon: This is sweet! Android Users Can Now Check In To Foursquare By Using Their Voice http://t.co/YKHiPTp @dens
  • volkskrant: Niet Fore! maar Vuur!: Golfer veroorzaakt bosbrand na mislukte slag http://bit.ly/9cOzL6
  • TweetSmarter: r/t Never Hand Out Your Password Again: Twitter Has Gone OAuth http://j.mp/bNp1TV
  • TechCrunch: Google Chrome Is The New "Down For Everyone Or Just Me" - http://tcrn.ch/aCPsPW by @parislemon
  • VentureBeat: VMware acquires IT monitoring startup Integrien for $100M http://bit.ly/azGIng by @anthonyha
  • RWW: How To: Quickly Enable Social Logins with JanRain Engage http://rww.tw/9eemg6

RSS useful

  • 4SQ
  • Aardvark
  • Are You Certifiable?
  • BlackBerry Latest Operating Systems
  • Byte Partners
  • Common Craft
  • De Telefoongids
  • Dropbox
  • Free Secure Email Certificates Digital Signature for Email Security
  • Free Websites Performance, Availability, Traffic Monitoring
  • Get Satisfaction!
  • Google Apps
  • Google Gmail
  • Google Webmaster Tools
  • Gowalla
  • Hallmark
  • HootSuite
  • How to access/enter Motherboard BIOS
  • Jing rocks!
  • LinkedIn Events

RSS support

  • Are You Certifiable?
  • How to access/enter Motherboard BIOS
  • MS File Checksum Integrity Verifier FCIV
  • MS Windows Team Blog
  • Meulenhoff Boekerij
  • Mynx
  • NFGDump
  • Nivon Natuurvrienden
  • PPAU
  • Prometheus Bert Bakker
  • Sophos Anti-Virus
  • Sophos Enterprise Console: 1 server with more than 1 NIC
  • Veronica Magazine
  • XS4ALL
  • pfSense

RSS unfiled

  • DevCon - an alternative to Device Manager command-line utility | Windows Reference
  • Twitter for Business
  • Increasing System Performance Without Adding Memory in Windows 7 - c01817290
  • Uh-oh: Russische oligarch koopt ICQ
  • Security Considerations when Configuring Folder Redirection
  • How to disable browser ballot screen in Windows | Symantec Connect
  • De kracht van koffiedaten - Carrièretips VKbanen - Solliciteren, CV schrijven, assessment
  • epicfu
  • Let me google that for you
  • Sophos: Operation Aurora
  • Postini: Google's take on e-mail security | Security - CNET News
  • The Golden Ear - pfSense 1.2 Firewall Appliance Guide
  • TED | Talks | List
  • WPML users forum
  • Tweetboard Support :: Open requests

RSS Department Schagen

  • Nieuwe expo Markt 18
  • Uitnodiging
  • Uitnodiging
  • uitnodiging
  • Uitnodiging

RSS Aad Holkamp

  • Expositie NUON28 Alkmaar
  • lutjesrtand 2010 zeskamp [Flickr]
  • lutjesrtand 2010 zeskamp [Flickr]
  • lutjesrtand 2010 zeskamp [Flickr]
  • lutjesrtand 2010 zeskamp [Flickr]

links

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

RSS alsoblog

  • Aad Holkamp
  • BAC ICT ROC
  • Connect Social Networks
  • Erik Rigters
  • Erik Stam
  • Familie Groot
  • Familie Jones
  • Familie Wezelman
  • Geertje Wezelman
  • Greet van den Berg
  • Hans Kuijpers
  • Hans Rijnders
  • Henriette Cramer
  • Herman Hendriks
  • Hugo van Waard
  • ITbende
  • Inga Broerse
  • Isa Nederbergh
  • Jae Punt
  • Karin Punt

archive

  • 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-2010 dae's weblog
Theme by NeoEase. Valid XHTML 1.1 and CSS 3.