contact contact contact
Ê Articles | Editorials | Reviews | The Wire | Press Releases
Dial Out Connection in FreeBSD
Author: Noman Liaquat
Sunday, 25 May 2003, 22:13 GMT
Reader Comments | Add your opinion

Configuring the ppp-Dial out Connection in FreeBSD. The following are tips to getting your host to be able to connect over the modem to Internet Service Provider (ISP).

Follow these steps

1 Install ppp using command pkg_add ppp*.
2 Go to directory /etc/ppp/ and edit the file ppp.conf.
3 Go to set device option and select the port at which your modem is installed

Lets suppose if modem is hooked up to the first port u will use that

set device /dev/cuaa1

4 Enable that option also

enable dns

5 When you reached at papchap option, put the following values

set phone ( put your isp Internet service dial-up Number )
set authname nomanza ( put the username which is assigned by the ISP )
set authkey hellohel9 ( put the password which is assigned by ISP)
6 After putting these values you must save that file.
7 So it’s time to make our ports executable, for that purpose you go to /dev/ directory.
8 Then put that command

# sh MAKEDEV cuaa0 ( where sh is command and MAKEDEV to make device usable for hooking through modem, whereas cuaa0 is the port which is the first serial port where modem is set, if you have second serial port then you write cuaa0 and so on).

9 In step-4 you enabled the dns, that’s means you isp dsn IP ADDRESS as stored and assign automatically, if you want to put another dns IP ADDRESS, it’s up to you, but that value is stored in the file /etc/resolv.conf.
10 I think your whole work is done, it’s the time to connect with FreeBSD.
Put that command on # Prompt.
/usr/sbin/ppp -quiet -auto -nat papchap




EXAMPLE OF /etc/ppp/ppp.conf

default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)

set device /dev/cuaa0

set speed 38400
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)

papchap:

set phone
set authname nomanza
set authkey hellohel9

set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route




EXAMPLE OF /etc/resolv.conf


nameserver IP-ADDRESS-OF-ISP



But if you felt you making dialup connection you must inform me at my email address , but if there is another problem which you are feeling that its software problem or any other kind of problem in that situation you should do contact with FreeBSD ppp mailing list.

By:- Noman Liaquat Khanzada
Email:

Add IT Observer Reviews to your RSS newsreader or



Reader Comments:

No comments. Post your comment here

Featured Products

Hi-WiFi - WiMax, 3G and Wireless broadband technologies blog.

SecurityWatch - 24x7 Advisory and Vulnerabilities automated monitoring service.

GFI LANguard Network Security Scanner - Network-wide security vulnerability scanning & fixing - Free version available.

Network Security Software - Sponsored by GFI.


In The News
È Security: It's just a matter of asking the right questions
È New computer viruses seeking financial data
È Mac hacks hackers hacking
È CA flaws opens users up to DoS attacks
È Fewer permissions are key to Longhorn security
È Warning on iPod threat
È eBay cybercrime chief tells UK to wise-up
È IT managers ignore mobile security
È China’s Zombie PCs
È Trojan horse causes mobile phone crash
ÊCopyright © 2000 - 2005 eBCVG IT Security Affiliates :: RSS feeds :: PrivacyÊ
Site Meter

Ê