Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Automatic net connection, For start-up of Dillo and e-mail< Next Oldest | Next Newest >
Delboy Offline





Group: Members
Posts: 144
Joined: Nov. 2003
Posted: Sep. 27 2004,12:39 QUOTE

What I miss from windoze and have not figured out yet in DSL is the ablity to connect to my ISP just on opening up the program (either web browser or e-mail).  The original route through all the menus and submenus to get to 'pppdial' seems a little primitive and long winded against the other recent sophisticated developments in DSL.  If I open Dillo or 'Xfmail' it is to surf or get my mail.  Any ideas how this can this can be automated?  Failing that, a .DSL to add a desktop icon button to single click on/off for 'pppdial' would be the next best thing.
I know about the dockable vdial but this still needs to loaded through the MyDSL menu each time.
Back to top
Profile PM 
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: Sep. 29 2004,12:51 QUOTE

I think what you really want to do is save your dialup settings and connect automatically on boot. Then dillo etc work straight away.

As I have discovered, settings entered into the right-click>System>ipnetconfig etc tools are NOT backed up by default when you hit backup/restore. Pity.

Instead you have to enter the right lines manually in the files filetool.lst and bootlocal.sh. This requires learning some geek, which is not all bad.

See my ongoing partially-successful struggle (to do this for LAN settings, not ppp)at http://damnsmalllinux.org/cgi-bin....;t=2733

That's the limit of my knowledge at present.


--------------
"We don't need no stinkin' Windows"

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
Back to top
Profile PM 
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: Sep. 29 2004,12:54 QUOTE

http://www.more.net/technical/netserv/tcpip/viewip.html might help you discover your netmask etc numbers if you need to.

--------------
"We don't need no stinkin' Windows"

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
Back to top
Profile PM 
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Sep. 29 2004,13:09 QUOTE

its not so dificult to find out.

1. you manualy setup the ppp with menu-system-netsetup-dialup ppp-config (remeber the name you give this connection)
2. add /opt/ppp to the filetool.lst ( so after reboot you do not have to setup again)

now if you look in then ./fluxbox/menu you will see
Quote
         [submenu] (dial-up PPP) {}
            [exec] (config) {rxvt -rv  -fn fixed -T "pppconfig" -e  sudo -H /usr/sbin/pppconfig }
            [exec] (dial) {rxvt -rv  -fn fixed -T "dial" -e sudo  /usr/sbin/pppdial.sh }
            [exec] (hangup) { sudo /usr/bin/poff -a }
 

so dial calls /usr/sbin/pppdial.sh.
now lets look into this /usr/sbin/pppdial.sh.:
Quote
#!/bin/bash
TMPFILE=`tempfile -d /tmp -p ras 2>/dev/null`
whiptail --title "Dial PPP" --nocancel --inputbox "Enter provider name" 0 0 2>$TMPFILE
PROVIDER=`cat $TMPFILE`
if [ ! -z "$PROVIDER" ]; then
  $(/usr/bin/pon "$PROVIDER")
fi

the line $(/usr/bin/pon "$PROVIDER") is interesting.
if you would type in xterm
Code Sample
sudo /usr/bin/pon the_providername_you_remeberd

i tink dsl will "auto"dial.
if you would type in xterm
Code Sample
sudo /usr/bin/poff -a

i tink dsl will hangup.
now if you can find a way to make both of these commands into desktop buttons or a wrapper script around dillo live becomes easy.


--------------
You have a Q or just want to chat?
Come to #damnsmalllinux on irc.freenode.net!
Open 24/7

dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster
asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl)
ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
Back to top
Profile PM WEB MSN 
3 replies since Sep. 27 2004,12:39 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Automatic net connection

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code