| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 97185 | 2009-02-06 23:23:00 | Ubuntu Dial Up Annoyance | LynX (14542) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 745590 | 2009-02-06 23:23:00 | Thanks to everyone who supported me in my previous post ( . pcworld . co . nz/showthread . php?t=97054" target="_blank">pressf1 . pcworld . co . nz) . This is like the season 2 of the problems . Currently I connect to the internet via dial up, and it's slow and steady (stable, actually) . However, the internet doesn't work in my Ubuntu 8 . 04 LTS . 1) I ran "sudo wvdial . conf", and it detected my modem . The log is here . Editing `/etc/wvdial . conf' . Scanning your serial ports for a modem . Modem Port Scan<*1>: Scanning ttySHSF0 first, /dev/modem is a link to it . ttySHSF0<*1>: ATQ0 V1 E1 -- OK ttySHSF0<*1>: ATQ0 V1 E1 Z -- OK ttySHSF0<*1>: ATQ0 V1 E1 S0=0 -- OK ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttySHSF0<*1>: Modem Identifier: ATI -- 56000 ttySHSF0<*1>: Speed 4800: AT -- OK ttySHSF0<*1>: Speed 9600: AT -- OK ttySHSF0<*1>: Speed 19200: AT -- OK ttySHSF0<*1>: Speed 38400: AT -- OK ttySHSF0<*1>: Speed 57600: AT -- OK ttySHSF0<*1>: Speed 115200: AT -- OK ttySHSF0<*1>: Speed 230400: AT -- OK ttySHSF0<*1>: Speed 460800: AT -- OK ttySHSF0<*1>: Max speed is 460800; that should be safe . ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up . Modem Port Scan<*1>: S1 S2 S3 SHSF1 SHSF2 SHSF3 SHSF4 SHSF5 Modem Port Scan<*1>: SHSF6 SHSF7 Found a modem on /dev/ttySHSF0, using link /dev/modem in config . Modem configuration written to /etc/wvdial . conf . /etc/wvdial . conf<Warn>: Can't write '/etc/wvdial . conf . tmp6453': Permission denied /etc/wvdial . conf<Warn>: Can't write '/etc/wvdial . conf' ('/etc/wvdial . conf'): Bad file descriptor ttySHSF0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" As you see, I am not permitted to write to file /etc/wvdial . conf, even though I ran it in root . 2) The file wvdial . conf has blanks that needed to fill, but since I'm not allowed to modify the file, I have to leave them as this: [Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Stupid mode = on Modem Type = Analog Modem ; Phone = <Target Phone Number> ISDN = 0 ; Password = <Your Password> New PPPD = yes ; Username = <Your Login Name> Modem = /dev/modem Baud = 460800 Does anyone know what I should do here? Thanks for the helps . |
LynX (14542) | ||
| 745591 | 2009-02-06 23:26:00 | I had the same prob when I was on dialup It seemed to work, when it felt like it (till i decided to go onto broadband) Updating to 8.10 may fix a few things |
Speedy Gonzales (78) | ||
| 745592 | 2009-02-06 23:48:00 | You should be able to edit that file as root (using sudo). The command you want is: sudo nano /etc/wvdial.conf Try following the steps given here (help.ubuntu.com(using%20wvdia lconf%20&%20wvdial)). |
Jen (38) | ||
| 745593 | 2009-02-07 00:37:00 | I managed to change the file wvdial.conf, but GNOME PPP just won't dial (I think I forgot to say the symptom in my first post). Thanks for the suggestions, Jen. I'm trying it out now, rebooting in Ubuntu (I am writing this in Vista so I can't make changes immediately). |
LynX (14542) | ||
| 745594 | 2009-02-07 00:59:00 | I tried the method Jen suggested, but no luck, wvdialconf doesn't look like the source of problem . Ubuntu found the modem alright, but it can't dial . I've recorded the log here: dm@dm-desktop:~$ sudo wvdial [sudo] password for dm: --> WvDial: Internet dialer version 1 . 60 --> Initializing modem . --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized . --> Sending: ATDT087305656 --> Waiting for carrier . ATDT087305656 Caught signal 2: Attempting to exit gracefully . . . --> Disconnecting at Sat Feb 7 13:44:23 2009 ( I disconnected the connection after hearing no dial tone) Also, the dial tone sounded like when I tried to connect on XP (usually XP responds me with "No Dial Tone" after a while) . It's a major reason why I've dumped XP and went for Vista . |
LynX (14542) | ||
| 745595 | 2009-02-07 03:29:00 | Ok.. You're using a serial modem. This is quite easy. Goto system/admin/network. networking gui should come up. Unlock. (I assume you've already done that.) Goto 'point to point' properties and select the modem tab. Unless you have a weird setup you should select /dev/ttyS0, thats your modem. Go back to the 'General' tab and chuck in your user info. Leave the options tab alone. Hit 'ok' and go back to to the first screen. Click the 'dns' tab and enter your ISP dns settings. Close the window and restart ubuntu. You should hear it dialling up even before you have entered your account info. At least thats whats always worked for me. Gnome gave me grief for a long time until I figured out the sequence. ps. don't try reconnecting without restarting. you'll just get the handshake noise and nothing else. |
Catweazle (2535) | ||
| 745596 | 2009-02-07 03:44:00 | ( I disconnected the connection after hearing no dial tone) Also, the dial tone sounded like when I tried to connect on XP (usually XP responds me with "No Dial Tone" after a while). It's a major reason why I've dumped XP and went for Vista. this sounds like you have a cable/hardware issue. some fault in XP and linux = not a software issue. |
robsonde (120) | ||
| 745597 | 2009-02-07 04:12:00 | this sounds like you have a cable/hardware issue . some fault in XP and linux = not a software issue . . . . But it runs fine and smooth in Vista though . . . And in XP it only happens OCCASIONALLY, especially after I use Vista (but it isn't a rule) . Additionally, I think I have a softmodem . . . yeah, a VERY bad option for Linux . I might try to swap my modem with the one on my dad's computer (which comes with a generic driver instead of a specified driver) . But on the other hand I have to reconfigure BOTH computers, which can be a hassle . Thanks for everyone's help . p . s . talking about the dial tone, it sounds like a "blank" tone (don't know how I should call it, but it's the constant sound after you pick up the phone), but was cut up by very short silences . Sorry, but I don't know how to describe it . ps2 . were you meant to say same instead of some, robsonde? |
LynX (14542) | ||
| 745598 | 2009-02-07 04:31:00 | Hate to be the bearer of bad tidings but (soft)winmodems don't play with linux very well. There are various drivers but the amount of hassle to get them running is a lot. It would be easier to pick up a cheap serial modem. Try http://linmodems.org. it might help. heres a good article on the subject. www.faqs.org (Winmodems-and-Linux) |
Catweazle (2535) | ||
| 745599 | 2009-02-07 04:54:00 | For what it's worth: 1. win modems are, by and large, designed to work with MS Windows only. The fact that any work with Linux at all is due to a few dedicated Linux people doing the relatively thankless job of reverse engineering the drivers. The blame for this situation lies squarely with the winmodem manufacturers. 2. Ubuntu has not focused on legacy dial-up functionality - dial-up is dying out as wired and wireless broadband (e.g. 802.11, gprs, and 3g) become ubiquitous. The Ubuntu developer focus is on supporting these emerging technologies (many of which are being marketed by similarly MS Windows biased manufacturers). That said, there is a LOT of documentation on Linux dial-up support on the 'net... the big trick is working out what aspect of it is applicable to your situation... |
dlane (11847) | ||
| 1 2 | |||||