Hi,
Before I start with my query, I would just like to say that OpenSuse 11.1 is really a cool distro. Thanks to all those behind this release. I hope this becomes my permanent distro as I use it more and more.
Now coming to my problem, I am trying to setup my Nokia 5700 as a USB modem in OpenSuse 11.1. I am following the wvdial method.
As I enter;
kwrite /etc/wvdial.conf
The kwrite doesn’t openup & I am unable to edit the wvdial.conf.
Additional Information :
1)Phone is properly detected.
2)I am doing the above with root privileges.
3)I am running Opensuse 11.1 RC1 KDE
my reply to this is get rid of rc1 and download the full version since it just came out on the 18th of this month and maybe give what your doing a try again
Works for me, I typed su into the terminal, entered the root password and then pasted your command into the terminal.
Perhaps the location of wvdial has changed or some other unforeseen thing. Have you tried opening up your text editor of choice with superuser privileges (I use Kate) and then manually navigating to the wvdial.conf file from your text editor?
Sounds like your wvdial.conf file is empty. Either that or it doesn’t exist. Why not open kwrite or kate, then click on Open (or File > Open) and navigate to /etc? If you can find wvdial.conf in that directory, then double click to open it. If not, then it doesn’t exist and you’ll have to create it.
Are you sure wvdial is installed? It does not come pre-installed, you have to use YAST to install it. There are several dependencies, but YAST should tell you what they are.
Also, make sure you enable smpppd in YAST / System / Run Level Services, otherwise you’ll get errors when you try to start up your dial up connection.
I checked that before posting here itself. Wvdial is present in the /etc directory and contains the default strings. I am not able to save it as it says you need to be root. Is it possible to login as a root in the GUI mode?
Yes, go to terminal, type su (this stands for “super user”) then enter root password, then type kate. From there you can navigate to the wvdial.conf file, edit it and save it.
To start wvdial, you need to be logged in as su. Once you are logged in type wvdial, and the program will attempt to start, and tell you what’s going on in the terminal. HTH!
Why can’t you use Kate to edit the file? Are you using a Live CD version of OpenSuse or something?
Tell me what happens when you do the following, or I can’t help you:
Go to terminal, type su (this stands for “super user”) then enter root password, then type kate. From there you can navigate to the wvdial.conf file, edit it and save it.
To start wvdial, you need to be logged in as su (your username will be shown in red type if you are logged in as super user). Once you are logged in type wvdial, and the program will attempt to start, and tell you what’s going on in the terminal. HTH!
gaurav@linux-93q1:~> su
Password:
linux-93q1:/home/gaurav # kate
bash: kate: command not found
linux-93q1:/home/gaurav # wvdial
→ WvDial: Internet dialer version 1.60
→ Cannot get information for serial port.
→ 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.
→ Idle Seconds = 300, disabling automatic reconnect.
→ Configuration does not specify a valid login name.
The kate editor is part of kdebase package, so this may not be installed if not using KDE. However, you could try another CLI editor like vi, nano, or pico.
If not installed, do (as root)
zypper in pico (or vi or nano)
Then you can edit with
pico /etc/wvdial.conf
Alternatively, you can use the ‘wvdialconf’ utility to directly create the required file. (The modem device must exist for this to work though).
I think you need to start over. Open a terminal (console) and do
cat /etc/wvdial.conf
Post output so we can see (if it exists) what this file contains. You can edit this config file directly, but as I have already outlined, there is a utility called wvdialconf, that can be used to configure a serial modem device if it is connected and detected. So, try that first. Just type
su (to become root)
wvdialconf
at command prompt, and follow the prompts given. See how that goes…