Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up a dialup modem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tonic
n00b
n00b


Joined: 04 Apr 2004
Posts: 3
Location: New Zealand

PostPosted: Sun Apr 04, 2004 10:55 am    Post subject: Setting up a dialup modem Reply with quote

I am trying to setup a dialup modem on 'anothers' machine under gentoo. lspci tells me the modem is based on the 536EP chipset, hence I have tried the intel driver and the smart link driver [apparently it works on some 536EP modems].
The Intel driver does not work as the system is using a 2.6 kernel, and though the smart link driver compiles fine it seems to do nothing.
I have not been able to find any useful documentation on setting up dialup for linux, and virutally none for gentoo. Could somebody please help me.

Thanks in advance
tonic
Back to top
View user's profile Send private message
adelante
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2003
Posts: 133
Location: South Africa - Johannesburg

PostPosted: Sun Apr 04, 2004 11:24 am    Post subject: Reply with quote

if its an external modem, 90% of the time it is supported, if its an internal modem, 90% of the time it isn't supported.

what you need to do is get hold of "wvdial" "wvstream" "ppp" "pppconfig" "dialog"

emerge them and once they are emerged.

run pppconfig

setup your dialup account on there, once your done, go to finish so it writes it to a file, and then exit.


then type this:

Quote:

# touch /etc/wvdial.conf
# wvdialconf /etc/wvdial.conf


It will scan for your modem and and add some strings for it, and put it in that /etc/wvdial.conf file.

edit that wvdial.conf file and make it look this (except with ur own details)

Quote:

[Dialer Defaults]
Modem = /dev/ttyS1
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S2=255
#Init2 = ATQ0X0 S2=255
ISDN = 0
Modem Type = Analog Modem
Phone = 123456789
Username = username@wherever.com
Password = youpassword
Stupid Mode = 1
Auto Reconnect = 0


then restart (I dont know why, but I always get a pppd error of 16 unless i restart.

once you have restarted, just type
Quote:

# wvdial

and it should dial you into the net :)
Back to top
View user's profile Send private message
tonic
n00b
n00b


Joined: 04 Apr 2004
Posts: 3
Location: New Zealand

PostPosted: Sun Apr 04, 2004 2:46 pm    Post subject: Reply with quote

okay this is an internal momdem unfortunately.

got an error back from wvdial after it scanned ttyS0 and ttyS1

then reports

********

Sorry, no modem was detected! Is it in use by another program? Did you configure it properly with setserial?

********

I read the manpages for setserial amd experimented with it to no avail. I still cannot get wvdial to see the modem.

I have now also tried

cat /proc/pci
setserial /dev/ttyS1 uart "..." port "..." irq "..."

unfortunately the output from cat does not actually give a port address for the modem, only an irq. I am loath to guess at that address as I imagine it could cause real problems.
Back to top
View user's profile Send private message
adelante
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2003
Posts: 133
Location: South Africa - Johannesburg

PostPosted: Sun Apr 04, 2004 3:41 pm    Post subject: Reply with quote

Check if its a Conexant chipset, if it is, then try emerge the net-dialup/hsflinmodem

Quote:
http://www.linuxant.com/drivers/hsf/index.html
Back to top
View user's profile Send private message
tonic
n00b
n00b


Joined: 04 Apr 2004
Posts: 3
Location: New Zealand

PostPosted: Sun Apr 04, 2004 3:49 pm    Post subject: Reply with quote

it is an Intel 536EP chipset

there are drivers provided by intel but only for kernel 2.4.x

however 2.4.x has problems with the nforce2 chipset, well sometimes... otherwise a quick change to gentoo-sources would be in order, sigh.
Back to top
View user's profile Send private message
ndo1985
n00b
n00b


Joined: 16 Apr 2004
Posts: 57
Location: USA

PostPosted: Sun Apr 18, 2004 3:50 am    Post subject: well i think u will be fine Reply with quote

I think you will be fine with the basic nv driver for the nvidia, then u could go back to 2.4 and use the net atleast
Back to top
View user's profile Send private message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Wed Apr 28, 2004 5:02 pm    Post subject: pon and poff? Reply with quote

I followed the advice that adelante had profered. So I am able to connect to the internet using wvdial.

I'd like to use pon and poff -- but 'pon' doesn't seem to do much unless wvdial has already been running. And 'poff' doesn't seem to do anything at all. Is there some sort of daemon that needs to be running to listen for those commands?

On a different but related note, the command '/etc/init.d/net.ppp0 start' doesn't seem to do anything either. But as I said, using the wvdial command, everything works perfectly.

I wasn't able to emerge 'wvstream' (no dependancies found) -- does that have something to do with it?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum