Modem problem in Freebsd 5.0

Taking care of your Linux box.
Post Reply
kashif
Naib Subedar
Posts: 305
Joined: Wed Oct 15, 2003 2:44 am
Location: Okara

Modem problem in Freebsd 5.0

Post by kashif »

Hello dear frined!!!
I am recently started work on Freebsd.

I am trying to uses my Us robotics 56 k data fax Modem
(Serial Port ) to connet an ISP.

(I am using this modem in Redhat linux perfectly)

I tried from KPPP in kde . when I do press Qurey modem kppp program becomes unresposive. I did not find Any GUI tool in KDE or Gnome through which I can make sure whether my modem is detected by MINe Freebsd 5.0 or not .if any plz tell me.
And if my modem is not detected by os how can I mange it.

Advance thank to replier.
**********************************************

As-Salaatu was-Salaamu Alaika Ya Sayyidi Ya Rasool ALLAH

**********************************************
jargon
Lieutenant Colonel
Posts: 691
Joined: Mon Oct 13, 2003 9:40 am

Post by jargon »

Obviously, you shouldn't even try any gui tools w/o checking to see if the bsd kernel picked up the modem or not. use 'dmesg' for this or check /var/log/messages.

If there isn't any sign that the modem was detected then its something you will have to deal with the bsd kernel.

http://www.freebsd.org/doc/en_US.ISO885 ... /handbook/
http://www.freebsd.org/releases/5.2.1R/ ... -i386.html
jargon
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

jargon wrote:Obviously, you shouldn't even try any gui tools w/o checking to see if the bsd kernel picked up the modem or not. use 'dmesg' for this or check /var/log/messages.
you obviously don't know a thing about external modems.

to see if the modem is connected, type "cu -l /dev/cuaa0 -s 115200"
use /dev/cuaa1 if it's on com2 (usually the seocnd serial port).
type "atz" in and see if you get "OK" back.
you can exit cu by pressing ~ and then . (dot).
kashif
Naib Subedar
Posts: 305
Joined: Wed Oct 15, 2003 2:44 am
Location: Okara

Post by kashif »

Friends Thanks!!!!!

Dear Lambda !! It is connected when I did change from /dev/cuaa0 to dev/cuaa1 .

But now Some other problem arose.Net do connect but does not browse.
mean does not browse .
When I did check # ifconfig

it shows ppp0 but does not show any ip adress in PPP0.

what should I do.
**********************************************

As-Salaatu was-Salaamu Alaika Ya Sayyidi Ya Rasool ALLAH

**********************************************
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

kashif wrote:When I did check # ifconfig

it shows ppp0 but does not show any ip adress in PPP0.

what should I do.
check the logs. the most likely cause is that your username/password is incorrect, or it didn't authenticate properly (used pap instead of chap, etc). i don't know what app the frontend uses (/usr/sbin/ppp or /usr/sbin/pppd both work), so do this:

- put the following line in /etc/syslog.conf

Code: Select all

!ppp
*.*                /var/log/ppp.log
!pppd
*.*                /var/log/ppp.log
- note that it is two tabs separating *.* and /var/log/ppp.log, not spaces. you must use tabs.
- type "touch /var/log/ppp.log"
- type "killall -HUP syslogd
- type "tail -f /var/log/ppp.log"
- dial in using your app
Post Reply