View previous topic :: View next topic |
Author |
Message |
tonic n00b
Joined: 04 Apr 2004 Posts: 3 Location: New Zealand
|
Posted: Sun Apr 04, 2004 10:55 am Post subject: Setting up a dialup modem |
|
|
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 |
|
|
adelante Tux's lil' helper
Joined: 19 Apr 2003 Posts: 133 Location: South Africa - Johannesburg
|
Posted: Sun Apr 04, 2004 11:24 am Post subject: |
|
|
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
and it should dial you into the net |
|
Back to top |
|
|
tonic n00b
Joined: 04 Apr 2004 Posts: 3 Location: New Zealand
|
Posted: Sun Apr 04, 2004 2:46 pm Post subject: |
|
|
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 |
|
|
adelante Tux's lil' helper
Joined: 19 Apr 2003 Posts: 133 Location: South Africa - Johannesburg
|
Posted: Sun Apr 04, 2004 3:41 pm Post subject: |
|
|
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 |
|
|
tonic n00b
Joined: 04 Apr 2004 Posts: 3 Location: New Zealand
|
Posted: Sun Apr 04, 2004 3:49 pm Post subject: |
|
|
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 |
|
|
ndo1985 n00b
Joined: 16 Apr 2004 Posts: 57 Location: USA
|
Posted: Sun Apr 18, 2004 3:50 am Post subject: well i think u will be fine |
|
|
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 |
|
|
coplaniuk Guru
Joined: 14 Apr 2004 Posts: 461 Location: Philadelphia, USA
|
Posted: Wed Apr 28, 2004 5:02 pm Post subject: pon and poff? |
|
|
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 |
|
|
|