LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   cannot connect to the internet (https://www.linuxquestions.org/questions/ubuntu-63/cannot-connect-to-the-internet-534444/)

donsu 03-04-2007 07:01 AM

cannot connect to the internet
 
Iam very new to linux.Installed ubuntu 6.10 but unable to connect to the internet. Modem driver is installed and use a dial up connection.It is probably configured incorrectly as when i connect nothing happens.Many thanks don.

pusrob 03-04-2007 07:35 AM

Hello donsu!
Which application do you use for connecting? Is that an external or internal modem?

stan.distortion 03-04-2007 07:46 AM

And do you mean you can hear it dial and connect but cant use the connection or that nothing happens when you try to connect?
Welcome to linux and the forum BTW
Cheers,
Stan

donsu 03-04-2007 10:52 AM

Quote:

Originally Posted by pusrob
Hello donsu!
Which application do you use for connecting? Is that an external or internal modem?

It is an internal modem

donsu 03-04-2007 11:01 AM

Quote:

Originally Posted by stan.distortion
And do you mean you can hear it dial and connect but cant use the connection or that nothing happens when you try to connect?
Welcome to linux and the forum BTW
Cheers,
Stan

nothing happens it does not even dial

donsu 03-04-2007 11:38 AM

It is an internal modem

donsu 03-04-2007 11:51 AM

Hi stan.distortion
It does not dial fire fox prints cannot connect to server

stan.distortion 03-04-2007 12:32 PM

Under windows, can you normally hear the modem dial?
And again, which application are you using?
Also, type "dmesg" in a terminal and post the output here, just the sections relevant to the modem and the tty setup if you can find them.
Cheers,
Stan

pusrob 03-05-2007 03:57 AM

Dear donsu!
We need to know which application do you use for connecting. This way it will be much easier to solve your problem.

donsu 03-10-2007 06:57 AM

Quote:

Originally Posted by donsu
Hi stan.distortion
It does not dial fire fox prints cannot connect to server

Hi stan.distortion i am now without a computer, however i will try typing what you suggest plus try getting ubuntu to recognise that it has a internal modem and try again. many thanks don.

RonKZ 03-11-2007 12:09 PM

Have ditto problem.
After trying several distros, having the best luck with Ubuntu, v6.06 LTS, very nice but will be getting a bigger version pronto. Only DialUp is available; 2 modems installed either works well in XP partition. In Ubuntu:
PCI Lucent Win Modem dials but either doesn't connect or immediately disconnects, can't tell which; and
serial modem Best Data v.92 (installed after Ubuntu was installed) I can't seem to get Ubuntu to recognize it.
I'm still much bewildered by Linux core syntax, so "help" ???

stan.distortion 03-11-2007 03:09 PM

Firstly, I hate posting this. I was a newbie once and can remember the frustration of trying to understand what was going on.
OK, here goes.
I just had a look on eBay, there were 15 modems listed with no reserve and finishing in the next 10 minuets. 10 of them will just plug in and work under linux and 6 of those where under $1.
Because a lot of manufacturers think there way of making modems is the best (in most cases read "makes the most money"), there is a flood of modems that don't use the standard, well documented, simple to implement modem commands.
The majority of these are "winmodems", devices that are (in simple terms) nothing more than a way of plugging a phone line into the PC. All the work is done with the manufacturers own proprietary (ie. closed source and they wont tell you how it works no matter how nicely you ask) software. A lot of people have dedicated a lot of time (for free) to getting this crap (sorry, I cant call them modems) to work with linux.
There are also almost conventional (ie. hardware) modems that do not stick to the standard ATZ commands and a mix and match of all kinds rubbish in between.
So please, unless you are a sucker for punishment and would enjoy hours and hours of trying, testing, trying again, and again, and again..., Have a look here:
http://www.linuxcompatible.org/compa...sort=1&asort=1
Or in the hardware compatibility list on this site, or any of the other reputable linux hardware sites. Then go to eBay or a locale flea market/garage sale etc. and spend no more that $5 for a used modem from a manufacturer that knows what standards are and how to stick to them.
Sorry for being an a**hole but I do not want to support manufacturers that cant stick to well established standards for the sake of their own (and microsoft's) profits.
Rant over.
I cant just leave it at that though.
Firstly, you need to know what your modem is. For serial port modems you will have to check what is written on the box. For internal modems, typing "lspci" in a terminal should give you enough info to get started. If it is a pci modem and it doesn't give any info here, taking it out and hitting it repeatedly with a hammer is the best solution as it is the worst kind of dirt ever put in a PC case.
When you have some info, search the hardware compatibility list above or the list here and see if it is possible to use it. If not then follow the same procedure as unidentified pci modems.
If it is possible but needs work, well, google is your friend, and so is the search function on this site and others like it.
If it is a definitely a hardware modem and it isn't responding, read up on ATZ commands and try changing settings, and test, and change, and test...
Post back if you are really stuck.
Sorry for the negative responce,
Stan

pusrob 03-11-2007 03:57 PM

You know guys, Stan is right. The best way to avoid problems, is to search for a "proven to work with linux" hardware. Linux developers are not the guys who are responsible if some hardware doesn't work. Why don't HW manufacturers ship drivers for linux? Good question, heh? Well, because there is less profit then. This way they do now, you are forced to use Win or Mac, if you want to use your HW, so they get profit. The solution: every time you want to buy some new HW, check for Lin compatibilities first. This way you will have much much much less problems. And for your problem: Linux isn't always the click 'n work OS. So, feel free to test.

RonKZ 03-11-2007 03:58 PM

Best Data v.92 Serial Modem
 
Thanks Stan. I'm an very old hand at computing, and today build and rehab computers for retirement pin-money. Love your 'So please, unless you are a sucker for punishment and would enjoy hours and hours of trying, testing, trying again, and again, and again...' as I have BTDT for years and years. My headache now is simply my resolve to transition to Linux & never contribute another nickel to the motley crew at micro$oft & cohorts. Once upon a time I was good using DOS, but the commandline stuff in Linux is a whole 'nuther ballgame and I hope that at 68 I can still play.

XP installed this Best Data v.92 modem as 56SX-92 Data Fax Modem. The modem label says "Smart One", models 56SPX-2/56SX-2 56PSX-2-MAC/56SX-MAC. I bought it because it's supposed to be Linux compatible, but sure as heck find Best Data website support to be useless. I did check your linuxcompatible.org link, which doesn't list this model but does list an USB model 'which must' be about ditto.

In some of the other distros I tried, the BestData did install and work, sorry I can't remember to report which distros those were.

My feeling is that installing Ubuntu 6.06 first and then adding the BestData later caused the problem. I'm assuming Ubuntu compiled without it, so now it's up to me to figure out how to do whatever commandline stuff necessary to add it after-the-fact, and therein lies my problem. Perhaps you can go directly to that, please? thanx

RonKZ 03-11-2007 04:36 PM

Lucent Win Modem
 
Quote:

Originally Posted by pusrob
You know guys, Stan is right. The best way to avoid problems, is to search for a "proven to work with linux" hardware. ... The solution: every time you want to buy some new HW, check for Lin compatibilities first. This way you will have much much much less problems. And for your problem: Linux isn't always the click 'n work OS. So, feel free to test.

Okay Okay, nuf already. I suppose we all totally agree with you, pusrob, but this thread has so far not answered the question, which was how to get "...x..." modem(s) to work with Linux.

As said, Ubantu finds and dials my Lucent Win Modem
and I can hear the connection chatter but then it disconnects. There's no error message, and surely there's some way of finding what's wrong and how to correct the problem -- that's where we (Donsu and now me) need help on this forum. We don't have a clue as to HOW to test!

pusrob 03-12-2007 04:22 AM

Do you use kppp for dialing? If no, please try that, becouse it has a terminal output window, which will show some info why does it disconnect you. Actually it will give you a number as an terminate reason, so you will have to use the kppp man pages to find out what does that number mean. Every number will be listed there, so not much searching will be needed. Maybe you could post the output here.

stan.distortion 03-12-2007 05:04 AM

http://www.walbran.org/sean/linux/li...howto-all.html
http://linmodems.org/
http://axion.physics.ubc.ca/ppp-linux.html
Caution: This will involve reading the manual.
RonKZ, yes you did say it was a lucent winmodem and you did a search for the problem before posting.
donsu, I would suggest reading the forum guidelines before posting. Following them makes the forum a lot more usefull to you and gives you a much better chance of finding a solution.
Also, if you are having to connect from an internet cafe or a friends to get this sorted out, bring a floppy or usb key with you to save the info from the first link and any links in it that look usefull.
If you are sure it is possible to use your modem but there are things you don't understand in those links anyone here will be happy to help out.
Cheers,
Stan

RonKZ 03-12-2007 10:41 PM

Ubuntu 6.06 LTS commands to get modem working
 
This distro runs Gnome & does not include KDE, thus not the kppp module. I did find "Terminal" but couldn't make a command minicom -s do anything, and don't really know that I'm doing it right. I spent more hours today looking at the links Stan sent but it's just burning me out, happens when you're 68 I guess.

Off/on over the past 2 years with several distros soooo many hours have gone for naught, and it's always been over two things; not being able to make a modem work, and my utter ineptness with Linux.

This has been my bugaboo for many moons. Am now running two computers trying to resolve this, as it's not gonna happen without the www. My main box (server) w/Ubuntu<>XP with the Best Data v.92 modem and the Lucent Win Modem, either works on Windoze. The Lucent dials but doesn't connect, the BestData can't be auto-found in Linux; port 0 and 1 tried, and hangs the system. I downloaded scanmodem.gz but haven't run that yet because I need to now find it on my Fat32 data partition, and then am not sure I can make that work anyway

The other box is Ubuntu<>w98 and Ubuntu doesn't even see the (Rosewill RC-403) winmodem in that box, but I'm not gonna worry about that for now. I've been using both, running the main box in XP w/dialup and ethernet which the other box can use to get on the www and find some fix, then switch the main box to Ubuntu to try things out, it's a huge pain because switching leaves me disconnected from the www, sheez!

I downloaded scanmodem.gz from
http://132.68.73.235/linmodems/index.html#scanModem
and actually succeeded to install/run the Ubuntu module of my 2nd box with that Rosewill modem, but hell it's nothing but gibberish to me - must be 20 screens of mumbo-jumbo with no hope I can wade thru all that. Supposedly it was simply going to ID the chipset on that modem. It's time to get out the hammer, Stan!

Anyway, my main box has 2 modems that should work, but I just don't know nearly enuf Linuxing to manage it. It's gotta be some simple commands, but I'm not managing to accomplish anything. Sorry for going on so long.

pusrob 03-13-2007 03:25 AM

Hi RonKZ!
You don't need to have KDE installed, if you wanna use KDE applications. Only kddelibs is needed and then every KDE app will run under gnome too. Choose to install kppp in synaptic or aptitude, and it will mark every dependecie for you. I suggest you to try kppp, since it is the best dialer application for linux yet. It has a mini terminal output window, and you can easily configure your modem with it, and you can even try your modem before dial, to be sure everything is fine.

unisol 03-13-2007 05:49 AM

can't connect to internet
 
maybe you could try running from the command line: sudo wvdialconf/etc/wvdial.conf. this should tell you what port your modem is on. also i would install gnomeppp. it should help if you have a linux compatible modem.

RonKZ 03-13-2007 09:42 AM

kde tools
 
Quote:

Originally Posted by pusrob
... You don't need to have KDE installed, if you wanna use KDE applications. Only kddelibs is needed and then every KDE app will run under gnome too. Choose to install kppp in synaptic or aptitude, and it will mark every dependecie for you. I suggest you to try kppp, since it is the best dialer application for linux yet. It has a mini terminal output window, and you can easily configure your modem with it, and you can even try your modem before dial, to be sure everything is fine.

hmmmm Robert, great message, something I could understand. Ubuntu Add/Remove found kddd and and one related file which supposedly installed but now I can't find it nor run it so??? That box locked up somewhere near the end of the download/install, don't know if before or after, but I will be checking that now.

I believe that kddelibs should have been kdelibs (??); Ubuntu Add/Remove doesn't find either spelling, tho. I did some Googling which quickly overwhelmed me. One of the first pages I found was kdelibs.com which seems (without getting deep into it) to be for running under windoze. I'm trying like crazy to escape windoze completely, so I doubt that's what I want, but as said, I don't know enuf about kdelibs to judge.

Thanx for your coherent help this time, it seems like a start for me at least

pusrob 03-13-2007 03:01 PM

Hi RonKZ!
Sorry, it was a bad spelling. It seems that my button d was too sensitive in that hour :) . I meant kdelibs. This is not the name of package, I think it is libkde. Search for that. Anyway, choose to install kppp and NOT kddd or something. You need kppp, just to be clear. In synaptic, search for kppp, mark it for install, and synaptic will suggest to install all dependencies too. Of course it will happen in an extra window, and you will need to accept it. You should know, that if somebody says kdelibs, it doesn't refers to the exact package name, it is the short form of kde libraries. Sorry if I wasn't very clear in my previous post. I hope that everything is clear now :) . If you don't understand something in kppp, just write here, and we will try to find a solution. kppp is very user friendly, so I think there won't be any problems. Good luck!

RonKZ 03-13-2007 07:12 PM

gnomeppp, wvdial, kppp, minicom, kdelibs
 
unisol maybe you could try running from the command line: sudo wvdialconf/etc/wvdial.conf. this should tell you what port your modem is on. also i would install gnomeppp. it should help if you have a linux compatible modem.

okay, this reply deals only with my 2nd computer, which has the Rosewill RC-403 pci modem, surely a winmodem, which Ubuntu has not recognized, neither previously nor after trying these suggestions. That modem is brand new and works fine in windoze, but it's cheap, so I will just install another modem more appropriate to all this and use Stan's Hammer!

So... to the report:

using gnomeppp logged
"WvDial: internet dialer version 1.55
Cannot open /dev/modem; No such file or directory"

Based solely on the icon for gnomeppp, it's a twin for whatever has been already running on Ubuntu.

using sudo wvdialconf/etc/wvdial.conf
returned only "command not found"

kppp
"kppp cannot find /dev/modem"

minicom returned that lengthy page of computerese as I'd mentioned yesterday, and frankly I couldn't find anything of value therein. In my view that website is terrible - it took forever to even find the link to download the darn thing, and shows a horrid maze of procedural links which I'm not about to surf. no wonder it's free.

So much for the stuff applied to the Rosewill modem. Now I need to get the same stuff installed on my main box, where surely something amongst these tools will be able to give something positive. Probably will be tomorrow before I post about that. Thanks to all!

RonKZ 03-13-2007 07:23 PM

gnomeppp, wvdial, kppp, minicom, kdelibs
 
unisol maybe you could try running from the command line: sudo wvdialconf/etc/wvdial.conf. this should tell you what port your modem is on. also i would install gnomeppp. it should help if you have a linux compatible modem.

okay, this reply deals only with my 2nd computer, which has the Rosewill RC-403 pci modem, surely a winmodem, which Ubuntu has not recognized, neither previously nor after trying these suggestions. That modem is brand new and works fine in windoze, but it's cheap, so I will just install another modem more appropriate to all this and use Stan's Hammer!

So... to the report:

using gnomeppp logged
"WvDial: internet dialer version 1.55
Cannot open /dev/modem; No such file or directory"

Based solely on the icon for gnomeppp, it's a twin for whatever has been already running on Ubuntu.

using sudo wvdialconf/etc/wvdial.conf
returned only "command not found"

kppp
"kppp cannot find /dev/modem"

minicom returned that lengthy page of computerese as I'd mentioned yesterday, and frankly I couldn't find anything of value therein. In my view that website is terrible - it took forever to even find the link to download the darn thing, and shows a horrid maze of procedural links which I'm not about to surf. no wonder it's free.

So much for the stuff applied to the Rosewill modem. Now I need to get the same stuff installed on my main box, where surely something amongst these tools will be able to give something positive. Probably will be tomorrow before I post about that. Thanks to all!

RonKZ 03-14-2007 11:11 AM

serial modem installed under IDE !!!
 
Okay, back on my main box with the Best Data v.92 serial modem. Kppp didn't really help, but holds some promise.

System info shows the modem is located under IDE, bizarre! I have no clue why, nor how to fix it (Ubuntu 6.06, 64bit). That had to have occurred during the initial setup, so I assume it's compiled in and would be a bitch to fix, but you more savvy gurus out there probably know the right moves. ??

I have also somehow screwed up by renaming my computer under networking, now behaving strangely. e.g. minimizing a window just zaps it off to lower-right of the screen. I tried a safe-mode restart but that didn't fix it, but then I'm not knowledgable about much in commandline stuff - mostly it just doesn't work for me. Duh! stuff, but I'm trying to get past "Newbie", really!

Well, guess I'll just reinstall Ubuntu 64 - seeya
later!

donsu 04-15-2007 10:47 AM

HI to you all and many thanks for all your help. Every thing i tried came up with another problem so I have decided to find a linux user in Welkom to do the necessary.I need to become better user of linux "dos".I will keep logging in,the advice is good
Donsu

IAamDave 04-16-2007 03:17 PM

I don't know if this is going to help any, but here goes.

Stan is correct. I recall my first forray into Linux with SuSe 7.something, and after reading lots of stuff I decided that an external modem was the easiest way to go. This worked a treat, and I wouldn't be surprised if this is still the case - as an external modem plugs into the com port and are always "PCMCIA" compatible (don't worry about PCMCIA any more - the community seems to have caught up and support for stuff like USB now works out of the box).

Donsu, I don't know if you are still running a windows system as dual boot or not, if you are you can determine what the modem is from the harware profiles in my computer.

i would recomend then doing a search on google with

"theNameOfYourModem in ubuntu6.10"

this will most likely return a thread from the Ubuntu forums, and will tell you fairly rapidy if you have a read if the device will function with Ubuntu.

Otherwise it may be you have to go the way of Stan's suggestion and locate a "new" unit from ebay or somewhere - again check the unit works in ubuntu with a search on google.

I know that others have asked what application you are using for connecting to the net.

if you are just clicking on an icon (and crossing your fingers) i would recomend opening a terminal (similar to the old fashioned dos prompt) - you will normally find this in the Accessories menu in the applications. Once you have this open I would recomend that you run the TOP command, and then click on your internet connection, the newest programe to appear is most likely to be the application you are using for attempting to connect.

I'm not enturely sure what this would be in ubuntu, but if you are using KDE it may well be Kinternet or similar (I may be out of date here so I won't be surprised if there are lots of remarks saying how far off the mark I am!).

Ubuntu also comes with a network settings application - you can get to this from the <System - Administration - Networking> menu.

It will tell you immediately if you have a modem configured or not, and if this route is active.

if all of this seems to be correct, and the settings are as they should be (select the modem connection and hit the "Properties" button) you should be able to connect!

If not in the terminal window enter the command

<ifconfig>

and it will report all the details of the connection settings. Copy this to the forum.

it may be you need to use the command

<sudo ifup ppp0>

ppp0 is the device name, and ifup simply brings the interface up, if this brings up error messages again copy them into the forum.

if it reports that the device is allready up then you could try bringing it down and then back up again with the command

<sudo ifdown ppp0>

followed by

<sudo ifup ppp0>

Again if you are still unable to get connected post the messages from these commands into your next post.

good luck and I hope that we can get you connected again soon.

Dave

RonKZ 04-16-2007 03:57 PM

Well folks, I am past my problems with this, and posting a report which hopefully will be helpful to some out there in our wilderness.

my Best Data V.92 external serial modem just *would not* work, until I moved the physical connection from COM2 to COM1. At that same time I also plugged in a PCI serial modem - USR 3cp5610a (see USR website for v.92 & Linux drivers, altho not absolutely necessary). Ubuntu 6.10 x64 (gnome) then found both of modems at last (took two frustrating weeks!), on different ttyS_. Later I pulled the BDv.92 & plugged in yet another PCI serial modem, this time an Actiontec PM560LKI which again with a little probing found it on ttyS4, and am using that.

In the process of using all of gnome-ppp and kppp and wvdial and setserial and minicom and also trying to set up a very basic LAN in Ubuntu things became terribly tangled for unknown reason and I finally just wiped out Ubuntu and am now using Mandriva 2006 (kde) which I've been able to manage via it's pretty fair Control Panel, so everything's working now. That is not to "recommend" Mandriva, there is much not to like e.g.(antique Firefox and NO tBird), but at least it worked.

But bottom line advice - Don't even bother with ANY win/linmodem. I have a boxful of such garbage, even tho they all are okay in windoze. Soon on ebay LOL


All times are GMT -5. The time now is 10:23 AM.