DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th April 2010
jinson
-Guest-
 
Posts: n/a
Default Dialup question

Will receive freeBSD 8 install cd in the mail any day now. Moving from ubuntu karmic. I'm comfortable getting pppconfig setup. My question is, is there something similar in freeBSD I need to configure?

Essentially, I would like to configure freeBSD for dialup? Please advise; ie, what files do I need to edit.

Warmest regards,

Jin
Reply With Quote
  #2   (View Single Post)  
Old 11th April 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,051
Thanked 198 Times in 156 Posts
Default

You can use ppp(8) or pppd(8).

Also take a look at the FreeBSD handbook Chapter 27: PPP and SLIP
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 13th April 2010
jinson
-Guest-
 
Posts: n/a
Default

Thank you.
Reply With Quote
  #4   (View Single Post)  
Old 15th April 2010
jinson
-Guest-
 
Posts: n/a
Default

Oh my,

I need help. Can you offer 'real' help and not just suggest I go and read a manual. I'm new at this and need someone to walk me through this. Too much to process coming from a different o/s. 1) I need to configure dialup. 2) I don't see "startx" at all. I installed freeBSD from the cd, logged in as root.
Reply With Quote
  #5   (View Single Post)  
Old 15th April 2010
jb_daefo jb_daefo is offline
Package Pilot
 
Join Date: May 2008
Posts: 196
Thanked 5 Times in 5 Posts
Default

/etc/ppp/ppp.conf
If you are lucky you can google your ISP and find a
ppp.conf already set up, edit the entries in it
(as well as name,pasword as necc.)
(change the log level to "local" might help, error messages
go onscreen rather than just to a file).
to point to the FreeBSD serial device (may vary
depending upon BSD version), make sure a
firewall is in place, and test it.
In v5 bsd, I had that set up in about two weeks.
in tty0, after issuing "at" commands at the ppp
prompt, "ath ... " "dial..." etc, the ppp.conf would
work in the background
The prompt would change
ppp
ppP
pPP
PPP
the last three would mean a connection.
then I would switch to another terminal
(alt-f2)
and be online.
(That is how I remember it anyway).
(That isp, before the "world wide web", no longer
is an isp for dialup AFAIK in the same manner.)
__________________
using /LOOKAT/ with /var/db/pkg files and portmaster/aliases/pipes/find/grep to meteorically speedup port upgrades/installs...
Reply With Quote
  #6   (View Single Post)  
Old 15th April 2010
jinson
-Guest-
 
Posts: n/a
Default

Will try. Thanks.
Reply With Quote
  #7   (View Single Post)  
Old 16th April 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,051
Thanked 198 Times in 156 Posts
Default

Quote:
2) I don't see "startx" at all. I installed freeBSD from the cd, logged in as root.
You will need to install Xorg, and youw will probably also want to install a Window manager or Desktop environment.

The "fast way" to do this would be using pkg_add -r, this will fetch all the needed packages from the internet and install them, for example:
Code:
# pkg_add -r gnome2
# pkg_add -r kde4
# pkg_add -r xfce4
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #8   (View Single Post)  
Old 18th April 2010
jinson
-Guest-
 
Posts: n/a
Default child failed (errdead) "error"

Please advise. After editing configuration files, per your instruction; I received a:
child failed (errdead) logon error.

Not sure if I've selected (/dev/cuaa0, cuaa1) the right modem. As root, I tried ppp to logon and received the above error. So, unable to configure xorg and/or add any pkgs until I'm online.

J
Reply With Quote
  #9   (View Single Post)  
Old 20th April 2010
FBSD FBSD is offline
Real Name: Joe Barbish
KING
 
Join Date: Feb 2010
Location: Angeles City, Philippines
Posts: 19
Thanked 4 Times in 3 Posts
Default

First of all, the 8.0 release has dropped support for pppd more commonly called kernal-ppp and slip. They have been removed from the 8.0 system. It takes time for changes like this to filter down through the handbook. So you will still see them documented in the handbook, which is in error.

What you want to use is user-ppp.

Now the second problem. In 8.0 the driver for the serial port has changes from sio to uart. This is documented in only one place, The release notes.


From the 8.0 release notes is the following
http://www.freebsd.org/releases/8.0R/relnotes-detailed.html

[amd64, i386] The uart(4) is now the default driver for serial port devices in favor of the sio(4) driver. Note that the device nodes have been renamed with /dev/cuauN and /dev/ttyuN.

Your device value of (/dev/cuaa0, cuaa1) should now be (/dev/cuau0, cuau1).

A more user-friendly explanation of configuring user-ppp is in the Install guide. Be aware that it has not been updated to the uart device names yet.
__________________
FreeBSD Install Guide www.a1poweruser.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
external drive partition question + fdisk question gosha OpenBSD General 15 15th June 2009 02:00 PM


All times are GMT. The time now is 02:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick