LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-24-2010, 07:22 AM   #1
wolfflow
LQ Newbie
 
Registered: Mar 2006
Location: Wien, Austria
Distribution: Debian
Posts: 7
Blog Entries: 1

Rep: Reputation: 0
Smile Debian Lenny - WVDIAL - new Linux user


Hi All, it toke me almost 4 Years to find the time and the motivations to start using a Linux Box. Today I'm really proud to write to you and announce that I'm online with Debian Lenny and writing this post to start over sharing my newbie experiences.

Please forgive me if I start here to ask my first question as I suppose this should go in the Debian Linux Forum but I'm so excited about that
you will forgive me.

I have successfully configured a WVDIAL install that is by design not disponsable in Debian Lenny.

So I had to find all the package dependencies as to connect to internet with my HUAWEI E220 Modem box.A great help was a really good documentation at http://wiki.debian.org/Huawei/E220

So my last care is to build up a simple Menu-Link (I'm using XFCE Dessktp as I did not wnat to much packages installed by Gnome or KDE) as to connect to the internet only with one click and not opening a root-term and type "wvdiag hdpa" everytime.

I really appreciate any suggestions/solutions
 
Old 01-24-2010, 08:29 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
I am not certain about a menu-link, you should be able to create a script file with a shebang (#!) for /etc/dash with what you would normally type and place this on the desktop to be able to manually launch the script file without having to type everything all the time. You could then add the script to /etc/sudoers to activate without having to raise it to root. You may have to manually place in the full path to the wvdiag utility and will have to place sudo before the command but that should work as a method to make the whole process a lot easier.

Admittedly I am not too hot with the desktop management systems for linux and unix distributions.

EDIT: I have just tested this out with a simple mkdir script, as I do not use desktop management systems much, make sure the script file has execute enabled via chmod and has an extension .sh. Interestingly it wouldn't work with the she bang in place but would without it, I'll have to investigate that one soon.

from terminal I did
nano testdir.sh
chmod 700 testdir.sh

within test.sh I ended out with
mkdir testdir

and this worked from Gnome for me, so that part appears to fairly well.

Addtional Edit: just spoke to a friend on MSN about scripts via GUI and he suggested if you want it to establish connection on login you could then just add the script to active on login, usually to a file like ~/.bashrc from memory.

Last edited by r3sistance; 01-24-2010 at 08:59 AM. Reason: I tested out executing a script from Gnome
 
Old 01-25-2010, 10:23 PM   #3
wolfflow
LQ Newbie
 
Registered: Mar 2006
Location: Wien, Austria
Distribution: Debian
Posts: 7
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Hi @r3sistance

Thank you very much for the tip. I will go to test it on my Test-Workstation. I agree with you that is better to learn to use linux far much with the console. I'm on my way, surely. (Using xfce4 meanwhile) Just for the time I get still a bit overwhelmed to deal with all the treacly configurations.

Sound good, will have to read it again as to understand fully all step.
Thanks, Will report back.
 
Old 01-26-2010, 05:13 AM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
If you need anything explained better or deeper, feel free to ask, I generally don't give full answers if possible so people have to learn things for themselves, like for example I have mentioned /etc/sudoers but not exactly what you would have to configure within it.
 
Old 01-27-2010, 06:11 AM   #5
wolfflow
LQ Newbie
 
Registered: Mar 2006
Location: Wien, Austria
Distribution: Debian
Posts: 7
Blog Entries: 1

Original Poster
Rep: Reputation: 0
It's OK I have got the idea (I'm a bit confident with Community and understand to read through lines!)
I'm already on studing and googling! Thanks
Will be back if I get stuck really!! and to report success.

;-)
 
  


Reply

Tags
debianlenny


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS not updating user information on Debian Lenny 2handband Linux - Networking 2 01-05-2010 12:38 PM
Debian Lenny postgresql and adding user problems apolinsky Linux - Software 5 03-03-2009 08:12 PM
pureftpd problem, unable to add virtual user - debian lenny kutlu Debian 1 12-01-2008 03:11 PM


All times are GMT -5. The time now is 05:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration