LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   install wvdial mandriva one (https://www.linuxquestions.org/questions/mandriva-30/install-wvdial-mandriva-one-526012/)

jajabinks 02-06-2007 05:04 AM

install wvdial mandriva one
 
i cannot install wvdial on mandriva one 2007(kde version)
When i try to install wvstreams (with rpm) it says missing package "libdb.so.2(glibC.2.0)"
also while installing wvstreams devel it says missig package libcrypto

Please tell me the required packages or if there is an easier way to install wvdial.

I do not have a working internet connection on mandriva.

Simon Bridge 02-06-2007 05:25 AM

Mandriva One doesn't come with wvdial???

An easier way to install would be to use the mandriva official packages.
http://club.mandriva.com/xwiki/bin/Downloads/
(Or use a different OS... but I'm prejudiced.)

By the source route you have chosen, you need to install the packages that are listed as missing.

glibC2.0
libcrypto

They can be installed from the official mandriva set, or you can install them from source as well.

Be sure to read the documentation in each tarball - this will (usually) include a list of dependencies.

jajabinks 02-06-2007 10:50 AM

done
 
I got the job done by my own method.(little complicated)
But now i face another problem
When in root i type

#wvdial tata
it connects but when i open a web browser and try to surf it does not load the pages
(tata is the name of my connection)
My wvdial.conf has the following:
[Dialer Defaults]
Phone =
Username =
Password =
New PPPD = yes

[Modem0]
Modem=/dev/ttyACM0
Baud=115200
SetVolume=0
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1
FlowControl= Hardware (CRTSCTS)
[Dialer tata]
Username= internet
Password= internet
Phone=#777
Stupid Mode= 1
Inherits = Modem0

Junior Hacker 02-07-2007 04:03 AM

I don't think those were created by wvdial.
First:
The section starting with [modem0] appears to have been created through MCC not wvdial as wvdial section usually starts with [Dialer Defaults], but should have allot more than what I see in your post.
You do not need wvstreams devel but that's ok (unless something changed and libwvstreams is no longer required), older versions of Mandriva like my 10.2 usually do not have ppp installed but when installing wvdial, it should be installed as a dependency. If you feel you have all installed properly (wvdial, libwvstreams, ppp), to configure wvdial you need to issue command:

#wvdialconf /etc/wvdial.conf

Wvdial will scan for a modem and tell you if it found one and wrote it's [Dialer Defaults] section which should include similar info to the other section created by MCC, and you will have to do some editing such as removing (; ) next to three lines for ISP information and you will have to enter ISP information also with an editor. You may need to add an extra line such as "Stupid Mode = Yes". The four lines you have shown under [Dialer Defaults] are insufficient to make a connection. Wvdial will not use the [Modem0] section.

jajabinks 02-07-2007 05:21 AM

Thanks for replying and helping
Well the Modem0 part was created by me manually.
I think you should go to the following website to get an idea on how to help me
http://www.thinkdigit.com/forum/show...t=42371&page=2
Mean time i will try editing dialer defaults

Also o will have you know that it connects to the internet(saying network inter face up on 123.45.6.7(some ip) and gateway connected on some other ip address.
Thanks

jajabinks 02-07-2007 06:13 AM

This is what happens when i connect to tata


[root@localhost jonathan]# wvdial tata
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CRM=1
AT+CRM=1
OK
--> Modem initialized.
--> Sending: ATD#777
--> Waiting for carrier.
ATD#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Feb 8 17:02:59 2007
--> pid of pppd: 6221
--> Using interface ppp0
--> pppd: Connect: ppp0 <--> /dev/ttyACM0
--> pppd: CHAP authentication succeeded: Authentication success
--> local IP address 59.161.4.27
--> remote IP address 172.23.118.86
--> primary DNS address 202.54.29.5
--> secondary DNS address 202.54.10.2
Caught signal #2! Attempting to exit gracefully...
--> Terminating on signal 15
--> Connect time 0.6 minutes.
--> pppd: Sent 0 bytes, received 578 bytes.

Junior Hacker 02-07-2007 12:38 PM

Well, they are telling you pretty much what I said, except they neglected to say you also need libwvstreams installed.

BTW:
I have a few operating systems, I'm not sure what architecture you have but my 64 bit Fedora I've re-installed well over 120 times before I finally got it on-line with installing a few choice updates, that was the only way I could get a connection. Wvdial never ever worked on it.

I strongly suggest you delete the wvdial.conf you have now and follow the steps I outlined above, even in that thread link you provide do they mention using command:

wvdialconf /etc/wvdial.conf

To set up wvdial.conf properly.
This is all the help I can offer. If you don't want to listen to this thread, listen to what subratabera says in the thread you trust, this person tells exactly the same story.

jajabinks 02-07-2007 10:13 PM

ok will try, iam open to all suggestions though
Is there any other way to connect to the net manually?
Also Ill have you know that you cannot install softwares from source on mandriva without installing the compilers
So i am switching to vector linux since it has all internet components and compilers installed is it any good?

Junior Hacker 02-08-2007 02:25 PM

You have KDE, check to see if kppp is installed through main menu/internet, if it is, all you do is go through it and put in the right information for your ISP, there will be a "Modem" tab somewhere to set up your modem. Click on the "Modem commands" button, there may be one line that has nothing in it, probably "init 2", if it is empty, put this line in it:

ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Click ok, now there should also be a "Query modem" button, click it to see if your modem is ready, kppp will tell you if it is, if it is not, you may have to compile drivers for it. I don't know for sure, but if you mention here what type of modem you have, it would be easier to guide you. But if kppp says it found a modem, close everything and in the last window put your user name and password and click "Connect".

Junior Hacker 02-08-2007 02:31 PM

If kppp is not installed, go through main menu/system/configuration/packaging/Add_packages, or something similar (I don't have Mandriva One), in a list of available packages, find kppp and try to install it, urpmi/mcc will ask you to put the CD/DVD in the drive and will install it as well as all dependencies.

jajabinks 02-08-2007 09:01 PM

but kpp does not detect my modem

jajabinks 02-08-2007 09:10 PM

Actually it is a wireless telephone and linux detects it as an lg VX600,VX4400 phone.
In hardrake it appears in the unknown list

Junior Hacker 02-08-2007 09:55 PM

That's out of my league.

Junior Hacker 02-08-2007 10:04 PM

To me that would be a wireless connection, not a modem connection.

jajabinks 02-08-2007 10:26 PM

i got it connected on kppp
but pages do not load


All times are GMT -5. The time now is 10:28 PM.