Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Networking>> Mandrake and winmodem

Mandrake and winmodem

Nigel Thomson
19-09-2002, 12:41 PM
I have downloaded and installed the driver for my conexant modem run the downloaded file's configuration file "HSFconfig" which told me my modem was setup as /dev/ttySHSFO but when I went to set my dialup connection (in the gui mode) I couldn't find this /dev/ttySHSFO so i went into SU shell thingie and tried to link it to dev modem with the command
ln -s /dev/ttySHSFO /dev/modem
the shell said something like "link exists"
now when i went to set the modem up in dialup I set it to /dev/modem but once again it didn't work.
Q.1 When the shell told me "link exists" did this mean there was a pre existing link, or did it mean that the link had just been created.
Q.2 Also how do I remove the link if it is incorrect without removing the device.
Anyhelp would be much appreciated
Nigel Thomson

bmason
19-09-2002, 02:09 PM
1) The existing link could have been created by mandrake (pointing to COM1/2), but was probably made by the HSFconfig (the HCF driver does this).
Deleting a link does not affect the origional file, they are like "Windows Shortcuts on Steriods" as someone once put it.

You can check where the link points by either bringing up its properties in the file manager or by typing:

cd /dev
ls -l modem

Which should give you a line like:
lrwxrwxrwx 1 root root 13 Sep 10 19:37 modem -> /dev/ttySHSF0

2) If it doesn't point to HSF0 (thats a zero btw) run:

ln -sf ttySHSF0 modem

The -f flag will force the link, overwriting the existing one (or you could have deleted the old link).


A couple of things if you are having trouble dialing:

1) It could be a permissions problem, try loging in as root and see if dialing works (or atleast "query modem" in KPPP). Although don't do it for regularly because its a security risk.

2) Check the driver is loading correctly.
Open (as root) /var/log/syslog in a text editor and do a search for "HSF" (it should be near the end of the file).

On my system the lines look like:

Sep 19 13:07:10 localhost kernel: PCI: Found IRQ 5 for device 00:09.0
Sep 19 13:07:10 localhost kernel: HCF ASIC ID: 215
Sep 19 13:07:10 localhost kernel: HCF DATAPUMP PART: '71' REV: 'BA'

Nigel Thomson
22-09-2002, 02:12 PM
Thanks for the advice,
I followed the instructions and found the problem was that the link was pointing elsewhere so fixed that up, now when I try to connect to the net using KDE, I just get a little chirp, the same as on my windows side but no following dialing noises.
I use XTRA as my ISP and i think my settings are correct, but if anyone knows of a page that has the setup info for Xtar that help would be much appreciated.

Nigel Thomson
24-09-2002, 08:03 PM
I hav found the Xtra settings and input them but still I get just the chirp and then nothing.
Is this a common problem or am i just special as i don't seem to be able to track it down. (embarassingly enough I have just started studying Linux at tech)
any help would be much appreciated

Nigel Thomson
03-10-2002, 07:51 PM
When i click on the connect to the internet button, I get the chirp as mentioned above, and then I get the error message

pppd daemon died unexpectedly
exit status 16

I checked up on the net and found a site that told me to edit the
/etc/ppp/options file

I did this but it has made no difference at all

I know exit status means the modem is hanging up, but I don't know why and it is driving me nuts.

Any help would be much appreciated
Nigel Thomson

Rod J
03-10-2002, 10:15 PM
I recently got my Conexant HCF Winmodem working under Red Hat Linux 6.2 and I can't get Kppp to work at all. It seems to detect the modem, but that's it, won't dial or anything. But then I discovered wvdial. Works every time like a charm :) I've read that some machines won't work with one or another of the dial up utilities and the best thing to do is try the others. BTW, even when I finally got the modem connecting (it seemed to be connecting, that is) it just sat there and I couldn't make any progress. I then found you have to enter in the DNS servers for your ISP into the file /etc/resolv.conf. BTW, the easiest way to use wvdial is to edit the file /etc/wvdial.conf with your ISP log on details, then you just need to type 'wvdial' <enter> in the shell to run it.

Nigel Thomson
04-10-2002, 06:59 PM
Hello I am back
well i read the kppp Faq thing posted by Graham L, and now my modem dials, says connecting to network for a while then i get the same daemon died unexpectedly, exit stats 16, i have tried changing to chap/pap and various other things suggested
does any one have any ideas?, as I am now stuck with a modem that dials and then hangs up
Thanks
Nigel Thomson

Graham L
05-10-2002, 03:04 PM
After it crashes, try "tail -20 /var/log/messages" immediately after it drops out. Try (once) trying to connect while being root. (this is a dangerous thing if habitual ;-)). I suspect it will be that security problem. That second link about kppp will be the critical one.

bmason
08-10-2002, 01:02 AM
Assuming your using KPPP (although there will be a similar option with other dialers), open up the settings for your account.

Hit the button "Customize pppd arguments..", then add the argument "debug" (without quotes).

Then try the connection again and have a look at /var/log/messages again. It should give you some quite detailed information about how its trying to connect.

Nigel Thomson
16-10-2002, 08:18 PM
I'm back, this must be getting to be one of the most drawn out posts in the history of PressF1, but I have been a little snowed under with assignments.
Back to business, i have tried using the debug and checking the messages file
the result is below
I think the problem has something to do with the line
LCP terminated by peer
I also tried connecting the modem in root using the same Kppp account but it kept saying it couldn't find the modem which seems rather odd as it dials in my user account but not in the root, and i always thought root had all the rights!!
I am using chap/pap authentication as most of the sites i went to seem to mention this as a possible cause of similar type errors, if there is anything more from the /messages file I need to enter here please let me know and I will enter it.
but as I am a two fingered typist it may take a while
Thans a lot
Nigel Thomson

bmason
17-10-2002, 12:06 AM
Could you post all of the pppd lines. Heres what mine looks like if it helps (overly censored because I don't know how secure it is):


Oct 16 23:54:10 squarepants pppd[10026]: pppd 2.4.1 started by sb, uid 501
Oct 16 23:54:10 squarepants pppd[10026]: using channel 3
Oct 16 23:54:10 squarepants pppd[10026]: Using interface ppp0
Oct 16 23:54:10 squarepants pppd[10026]: Connect: ppp0 <--> /dev/ttySHCF0
Oct 16 23:54:10 squarepants pppd[10026]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic **********> <pcomp> <accomp>]
Oct 16 23:54:10 squarepants pppd[10026]: rcvd [LCP ConfReq id=0x1 <mru 1524> <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp> <mrru 1524> <endpoint [MAC:00:c0:7b:8c:49:09]>]
Oct 16 23:54:10 squarepants pppd[10026]: sent [LCP ConfRej id=0x1 <mrru 1524>]
Oct 16 23:54:10 squarepants pppd[10026]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic **********> <pcomp> <accomp>]
Oct 16 23:54:10 squarepants pppd[10026]: rcvd [LCP ConfReq id=0x2 <mru 1524> <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp> <endpoint [MAC:00:c0:7b:8c:49:09]>]
Oct 16 23:54:10 squarepants pppd[10026]: sent [LCP ConfAck id=0x2 <mru 1524> <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp> <endpoint [MAC:00:c0:7b:8c:49:09]>]
Oct 16 23:54:10 squarepants pppd[10026]: rcvd [CHAP Challenge id=0x1 <********************************>, name = "tnt6"]
Oct 16 23:54:10 squarepants pppd[10026]: sent [CHAP Response id=0x1 <********************************>, name = "*********"]
Oct 16 23:54:11 squarepants pppd[10026]: rcvd [CHAP Success id=0x1 "\000"]
Oct 16 23:54:11 squarepants pppd[10026]: Remote message: ^@
Oct 16 23:54:11 squarepants pppd[10026]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Oct 16 23:54:11 squarepants pppd[10026]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Oct 16 23:54:11 squarepants pppd[10026]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 203.96.152.62>]
Oct 16 23:54:11 squarepants pppd[10026]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 203.96.152.62>]
Oct 16 23:54:11 squarepants pppd[10026]: rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Oct 16 23:54:11 squarepants pppd[10026]: rcvd [IPCP ConfNak id=0x1 <addr 203.96.156.58> <ms-dns1 203.96.152.4> <ms-dns3 203.96.152.12>]
Oct 16 23:54:11 squarepants pppd[10026]: sent [IPCP ConfReq id=0x2 <addr 203.96.156.58> <compress VJ 0f 01> <ms-dns1 203.96.152.4> <ms-dns3 203.96.152.12>]
Oct 16 23:54:11 squarepants pppd[10026]: rcvd [IPCP ConfAck id=0x2 <addr 203.96.156.58> <compress VJ 0f 01> <ms-dns1 203.96.152.4> <ms-dns3 203.96.152.12>]
Oct 16 23:54:11 squarepants pppd[10026]: local IP address 203.96.156.58
Oct 16 23:54:11 squarepants pppd[10026]: remote IP address 203.96.152.62
Oct 16 23:54:11 squarepants pppd[10026]: primary DNS address 203.96.152.4
Oct 16 23:54:11 squarepants pppd[10026]: secondary DNS address 203.96.152.12
Oct 16 23:54:11 squarepants pppd[10026]: Script /etc/ppp/ip-up started (pid 10028)
Oct 16 23:54:11 squarepants pppd[10026]: Script /etc/ppp/ip-up finished (pid 10028), status = 0x0
Oct 16 23:55:28 squarepants pppd[10026]: Terminating on signal 15.
Oct 16 23:55:28 squarepants pppd[10026]: Script /etc/ppp/ip-down started (pid 10083)
Oct 16 23:55:28 squarepants pppd[10026]: sent [LCP TermReq id=0x2 "User request"]
Oct 16 23:55:28 squarepants pppd[10026]: Script /etc/ppp/ip-down finished (pid 10083), status = 0x0
Oct 16 23:55:28 squarepants pppd[10026]: rcvd [LCP TermAck id=0x2]
Oct 16 23:55:28 squarepants pppd[10026]: Connection terminated.
Oct 16 23:55:28 squarepants pppd[10026]: Connect time 1.3 minutes.
Oct 16 23:55:28 squarepants pppd[10026]: Sent 1589 bytes, received 1841 bytes.
Oct 16 23:55:28 squarepants pppd[10026]: Exit.

xtremeXP
17-10-2002, 12:16 AM
first off there has always been a problem with winmodems under linux
secondly an hcf modem is not an winmodem
lucent is winmodem
conexant is hcf (used to rockwell)

thirdly dump the winmodem and buy a hcf based modem as linux and this type of modem seem to play nice with each other

Tony S.
17-10-2002, 05:55 AM
I also have Mandrake and a Winmodem. Could you please give me the link for the drivers as I have never been able to find them.
It would be much appreciated.

SoniKalien
17-10-2002, 08:20 AM
do a search for linmodem

hcf is a type of winmodem, not brand.
connextant is a brand as is LT (lucent)

not all winmodems will work with Linux, and those that do can be tricky. My theory is, if you followed the instructions, and it still doesn't work, by a hardware modem. You can waste a lot of time trying to beat a dead horse..

try www.limodems.org i think

SiK

Nigel Thomson
17-10-2002, 09:29 AM
[url=http://www.mbsi.ca/cnxtlindrv/hsf/downloads-mdk-x86.html]Mandrake Winmodem Thingies[ /url]
I hope that link works

Nigel Thomson
17-10-2002, 09:49 AM
Ok that didn't seem to work

http://www.mbsi.ca/cnxtlindrv/hsf/downloads-mdk-x86.html

those lines where....
localhost pppd[5979] pppd 2.4.1 started by nigel, uid 501
localhost pppd[5979]:using interface ppp0
localhost pppd[5979]:connect: ppp0 <--> /dev/ttySHSFO
localhost /etc/hotplug/net.agent: assuming ppp0 is already up
localhost pppd[5979]:LCP terminated by peer
localhost pppd[5979]:hangup(SIGHUP)
localhost pppd[5979]:modem hangup
localhost pppd[5979]:connection terminated
localhost pppd[5979]:exit
??????: /etc/hotplug/net.agent:NET unregister event not supported

the questionmarks in the last line are because I can't read my own handwriting (I should have been a doctor not a computer student)

thanks
Nigel

Nigel Thomson
27-10-2002, 04:11 PM
Had another go at playing with settings but to no avail, just dials saysconnecting then "exit status 16" as usual, is this something to do with the modem not getting enough CPU time?
and as for WVDial will it work through KDE and how do I set it so my browsers know where to connect to the internet.
thanks in advance
nigel

Rod J
28-10-2002, 10:01 PM
Hi Nigel,

Have a look at this wvdial page (http://open.nit.ca/wvdial/). It should answer most of your queries concerning wvdial. I just use the command line/shell version of it that came with my installation. My version of Linux is rather old (Red Hat 6.2) so it's difficult for me to upgrade most things easily. I believe a graphical interface is now available for it.

Good luck! :-)

Nigel Thomson
01-11-2002, 06:15 PM
Greetings from Linux I finally have my modem working and I am stoked, the problem turned
out to be the password, (don't laugh), for some reason the password I have been typing in
to Xtra on a regular basis didn't work through Linux, but when I changed my password,
( as all security concious pixies do), it all worked so thanks every one for their help'

2 quick questions
why isn't wordwrap working when I enter this post
and how do I make my browser autodial the net when it is clicked on
and also how do I get a scroll mouse working under linux?
I have done it under RH 7.3 at tech but I'm not sure how to do it here

Once again thankyou everyone


 

TOP

For more info

 Information needed
 Easy method to re-nam
 "Enhanced" Audio CD
 Runtime error
 parallel port
 Modems Internal vs Ex
 Changing e-mail addre
 Shareaza Uploads Help
 NHL Help Me Please
 newdot

News Archive

 Vertical line problem
 Bring Back Hibernatio
 Dial-up Setting
 Windows 98 crashes
 Email Address Wanted
 unwanted hard-drive a
 Linux Floppy
 *.prn files  -  do th
 Outlook Download/Atta
 M1122 no good for SSH

Related stories:

Writing CDs
DUN - autoconnect program for XP
Microsoft Word
Broadband for Businesses?
Need help
usb
BIOS set up?
Trend Micro Pc-cillin nuisance.

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics