You are not logged in.

#1 2008-06-28 04:18:48

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Dialup in Arch

http://wiki.archlinux.org/index.php/Dia … aler_HOWTO

Will this tell me all I need to know to set up dialup?

I don't even think my modem is set up now.
Modem is conexant
internet is sympatico.

Last edited by Raccoon1400 (2008-06-28 04:19:35)


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#2 2008-06-28 05:53:13

Redroar
Member
Registered: 2008-03-17
Posts: 200

Re: Dialup in Arch

Alright, need a bit more info. Is your modem hardware or a soft/win/linmodem? Because hardware modems are much better/easier to setup.

As far as that howto....you will want to kill yourself if you don't have something like wvdial. Wvdial is pretty easy to set up, I like it quite a bit. Just read some of the docs with wvdial, set it up, and try it out.


Stop looking at my signature. It betrays your nature.

Offline

#3 2008-06-28 11:37:09

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Dialup in Arch

I'm not sure of the difference betweeen hardware/soft modems, but the laptop has a built-in modem.
I'll try wvdail.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#4 2008-06-29 00:44:44

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Dialup in Arch

Okay. I installed wvdial. It confirmed that no modem is set up.

[duncan@duncan-arch ~]$ wvdial
--> WvDial: Internet dialer version 1.60
--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
[duncan@duncan-arch ~]$

How can I set it up? There seems to be very little in the wiki for dialup.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#5 2008-06-29 01:48:32

Redroar
Member
Registered: 2008-03-17
Posts: 200

Re: Dialup in Arch

The Arch wiki is not the only info on the net. I'm quite certain that man wvdial will get you started, but here's a sample config file (put in /etc/wvdial.conf or ~/.wvdialrc)

If it's the internal modem on a relatively recent laptop, it is almost certainly a softmodem. Go ahead and post the output of

lspci

and the output of

lspci -n

And the sample config:

[Dialer Defaults]
Modem = /dev/yourmodem # I think this is usually ttySX, where X is a number. Just start punching them in until it works, honestly. I don't have a whole lot of experience with softmodem drivers, and I'm unsure whether or not they have special device names, though
Baud = 115200 # This is a pretty sane default baud rate. Unless you have a good idea of what you are doing, I wouldn't mess with it, though.
Init = ATZ # I have never run into a situation where this is incorrect, but there are some bizarre modems out there. Unless it doesn't work, though, don't mess with this.
Phone = 555-555-5555 # Naturally, put your dial-up providers' phone no. here.
Username = myusername
Password = mypass

This will typically work, and wvdial will usually work out the details. Note the use of 'typically' and 'usually'.....modems can be three headed dragons sometimes, and sometimes they are a breeze. Sometimes they just make pie.


Stop looking at my signature. It betrays your nature.

Offline

#6 2008-06-29 15:07:56

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Dialup in Arch

The laptop is dell, and about a year old. If it is easier, I have a US robotics modem somewhere, that fits in those slots in the sides of laptops. It's a few years old.
I don't think I ever set up a modem when I installed. Would it still have a dev file, or do I have to run some script? I tried all ttySX possibilities, and they all returned input/output error.

What's in /dev

[root@duncan-arch etc]# ls /dev
adsp            null    stdout    tty36  tty9
audio            nvidia0    tts    tty37  ttyS0
bsg            nvidiactl    tty    tty38  ttyS1
bus            port    tty0    tty39  ttyS2
cd            psaux    tty1    tty4   ttyS3
cdrom            ptmx    tty10    tty40  urandom
cdrom0            pts        tty11    tty41  usbdev1.1
cdrw            random    tty12    tty42  usbdev1.1_ep00
cdrw0            root    tty13    tty43  usbdev1.1_ep81
console            rtc        tty14    tty44  usbdev2.1
core            rtc0    tty15    tty45  usbdev2.1_ep00
cpu_dma_latency     scd0    tty16    tty46  usbdev2.1_ep81
disk            sda        tty17    tty47  usbdev3.1
dsp            sda1    tty18    tty48  usbdev3.1_ep00
dvd            sda2    tty19    tty49  usbdev3.1_ep81
dvd0            sda3    tty2    tty5   usbdev4.1
fd            sda4    tty20    tty50  usbdev4.1_ep00
full            sda5    tty21    tty51  usbdev4.1_ep81
fuse            sda6    tty22    tty52  usbdev4.3
fw0            sdb        tty23    tty53  usbdev4.3_ep00
hidraw0            sdb1    tty24    tty54  usbdev4.3_ep81
initctl            sequencer    tty25    tty55  usbdev5.1
input            sequencer2    tty26    tty56  usbdev5.1_ep00
kmem            sg0        tty27    tty57  usbdev5.1_ep81
kmsg            sg1        tty28    tty58  usbdev5.3
log            sg2        tty29    tty59  usbdev5.3_ep00
mcelog            shm        tty3    tty6   usbdev5.3_ep02
mem            snapshot    tty30    tty60  usbdev5.3_ep81
misc            snd        tty31    tty61  vboxdrv
mixer            sound    tty32    tty62  vc
net            sr0        tty33    tty63  vcc
network_latency     stderr    tty34    tty7   XOR
network_throughput  stdin    tty35    tty8   zero
[root@duncan-arch etc]#

lspci -n

[duncan@duncan-arch ~]$ lspci -n
00:00.0 0600: 8086:27a0 (rev 03)
00:01.0 0604: 8086:27a1 (rev 03)
00:1b.0 0403: 8086:27d8 (rev 01)
00:1c.0 0604: 8086:27d0 (rev 01)
00:1c.3 0604: 8086:27d6 (rev 01)
00:1d.0 0c03: 8086:27c8 (rev 01)
00:1d.1 0c03: 8086:27c9 (rev 01)
00:1d.2 0c03: 8086:27ca (rev 01)
00:1d.3 0c03: 8086:27cb (rev 01)
00:1d.7 0c03: 8086:27cc (rev 01)
00:1e.0 0604: 8086:2448 (rev e1)
00:1f.0 0601: 8086:27b9 (rev 01)
00:1f.2 0101: 8086:27c4 (rev 01)
00:1f.3 0c05: 8086:27da (rev 01)
01:00.0 0300: 10de:01d7 (rev a1)
03:00.0 0200: 14e4:170c (rev 02)
03:01.0 0c00: 1180:0832
03:01.1 0805: 1180:0822 (rev 19)
03:01.2 0880: 1180:0843 (rev 0a)
03:01.3 0880: 1180:0592 (rev 05)
03:01.4 0880: 1180:0852 (rev ff)
0b:00.0 0280: 14e4:4311 (rev 01)
[duncan@duncan-arch ~]$

lspci

[duncan@duncan-arch ~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300] (rev a1)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 0a)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 05)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
0b:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)
[duncan@duncan-arch ~]$

Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#7 2008-06-29 16:56:15

Redroar
Member
Registered: 2008-03-17
Posts: 200

Re: Dialup in Arch

Hmm, I don't see much info about that modem, but it doesn't look too good. Try running scanmodem and see if it points you anywhere more precise.
http://linmodems.technion.ac.il/first.html


Stop looking at my signature. It betrays your nature.

Offline

#8 2008-06-30 00:55:52

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Dialup in Arch

I used scanmodem and got drivers installed.

I also lost my sound, and downloaded a patch, which I don't know what to do with, but I will start a new thread for that. http://bbs.archlinux.org/viewtopic.php? … 61#p387861

Now, I need to configure ppp.

[root@duncan-arch duncan]# wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT613-350-2243
--> Waiting for carrier.
ATDT613-350-2243
CONNECT 115200 
belotwcnas11 line 66 
Unauthorized Access Prohibited
Acces non-autorise interdit
BELOTWCNAS11 
User Access Verification
Username: 
--> Carrier detected.  Waiting for prompt.
Username: 
--> Looks like a login prompt.
--> Sending: b1kkii27
b1kkii27
Password: 
--> Looks like a password prompt.
--> Sending: (password)
Selection: 
Selection: 
Selection: 
Entering PPP mode.
Async interface address is unnumbered (Ethernet0)
Your IP address is 0.0.0.0. MTU is 1500 bytes
Header compression is on.
--> Looks like a welcome message.
--> Starting pppd at Sun Jun 29 20:07:42 2008
--> Pid of pppd: 4674
--> Disconnecting at Sun Jun 29 20:07:42 2008
--> The PPP daemon has died: No ppp module error (exit code = 4)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 4)
[root@duncan-arch duncan]# /etc/rc.d/ppp start
:: Starting PPP daemon                                                   [BUSY] 
Please configure /etc/ppp/peers/provider or use a command line argument to
use another file in /etc/ppp/peers/ directory.

                                                                         [FAIL] 
[root@duncan-arch duncan]# nano /etc/ppp/peers/provider
[root@duncan-arch duncan]# cd /etc/ppp/pers
bash: cd: /etc/ppp/pers: No such file or directory
[root@duncan-arch duncan]# cd /etc/ppp
[root@duncan-arch ppp]# ls
chap-secrets         ip-down  options.pptp  plugins
firewall-masq         ip-up    pap-secrets   pppoe.conf
firewall-standalone  options  peers        pppoe-server-options
[root@duncan-arch ppp]# cd ./peers
[root@duncan-arch peers]# ls
isdn  wvdial  wvdial-pipe
[root@duncan-arch peers]#

Last edited by Raccoon1400 (2008-06-30 01:00:12)


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#9 2008-06-30 01:58:20

Redroar
Member
Registered: 2008-03-17
Posts: 200

Re: Dialup in Arch

Exit Code 4 - The kernel does not support PPP. For example, the PPP kernel driver is not included or cannot be loaded

Straight from man pppd. Sounds like the modem driver is no worky. I don't have enough experience with softmodems to help you....I gave up on my softmodem a long time ago and just bought a USB hardware modem.

Softmodems are hollow shells of a modem, whose only use is to clog up Windozeboxen. I wish you luck in finding an answer to your question, but there is a reasonable chance it will simply frustrate you endlessly. But, then again, it could just be something simple like the kernel module somehow wasn't running.


Stop looking at my signature. It betrays your nature.

Offline

#10 2008-06-30 12:35:50

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Dialup in Arch

I'll try my us robotics modem I mentioned earlier.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#11 2008-07-02 00:25:11

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Dialup in Arch

Okay. I loaded the ppp_generic module, and now it just says 'connect script failed'
It gives me this after dialing and logging in.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#12 2008-07-02 01:12:56

Redroar
Member
Registered: 2008-03-17
Posts: 200

Re: Dialup in Arch

Hm.. I'm guessing you tried it as root...Perhaps you need to add your username/pass to the /etc/ppp/chap-secrets and pap-secrets files. It is in this format:

"<username>" * "<password>" # Don't leave out the quotes, and leave the * in between. Of course substitute your username and pass for <username> and <password>

If your ISP uses PAP/CHAP then it'll pull the username out of those files. Hopefully this is it...I'm running out of ideas.

Last edited by Redroar (2008-07-02 01:39:19)


Stop looking at my signature. It betrays your nature.

Offline

#13 2008-07-03 01:12:21

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Dialup in Arch

I already have that. What modules do you have running for ppp? Do you have a /etc/ppp/peers/provider file? When I /etc/rc.d/ppp start, it tells me to configure that file.
Chap-secrets is automatically filled in, and the quotes are not supposed to be there.
I found the US robotics card modem, but the slot on the side of my laptop is the wrong kind.

[root@duncan-arch duncan]# /etc/rc.d/ppp start
:: Starting PPP daemon                                                   [BUSY] 
Please configure /etc/ppp/peers/provider or use a command line argument to
use another file in /etc/ppp/peers/ directory.

                                                                         [FAIL]

Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#14 2008-07-03 03:01:27

Redroar
Member
Registered: 2008-03-17
Posts: 200

Re: Dialup in Arch

ppp_deflate             4992  0 
zlib_deflate           20120  1 ppp_deflate
zlib_inflate           18560  1 ppp_deflate
ppp_async               9600  1 
crc_ccitt               2304  2 ppp_async,irda
ppp_generic            24348  7 ppp_deflate,bsd_comp,ppp_async
slhc                    6016  1 ppp_generic

Oh, and you can't just do ppp start. Wvdial is doing all the legwork for you, and I have long since given up trying to decode the cryptic messages pppd shoots back. Wvdial is not the problem in this scenario, and it'll keep us on the "fixing the module problem" rather than the "configuring the hell out of pppd" side.

It is certainly possible to work without a frontend for pppd, and for some situations I'd do it. This isn't a situation that I'd want to deal with pppd directly.

I didn't know the quotes were optional. It's not that they aren't supposed to be there, otherwise it wouldn't work for me...but they can be either way, I guess.


But, in the end, I'm laying odds that the modem inside your laptop is unsupported. Softmodems are some of the least looked-into pieces of hardware, mostly because few people use dial-up anymore. You and I are a rare breed among the linux community, trying to use dial-up.


Stop looking at my signature. It betrays your nature.

Offline

#15 2008-07-04 19:27:21

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Dialup in Arch

I only need dialup for two months in the summer. If I can't get it working, I will have to use mom's laptop for internet.
I can't even get my modem working in vista. Device manager sees it, but the dialup connection wizard won't.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#16 2008-07-20 15:08:17

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: Dialup in Arch

I load all the modules in your previous post, and this happens, and now it exits on error code 8.

--> Looks like a welcome message.
--> Starting pppd at Sun Jul 20 11:01:24 2008
--> Pid of pppd: 4674
--> pppd: N[7f]
--> pppd: N[7f]
--> pppd: N[7f]
--> Disconnecting at Sun Jul 20 11:01:24 2008
--> The PPP daemon has died: Connect script failed (exit code = 8)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 10 seconds
--> Initializing modem.
--> Sending: ATZ
ATZ
OK

Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

Board footer

Powered by FluxBB