Users online right now: 397 - Login  » search  » forum index  

PPPOe DSL connection

arli2010
wrote 220 days ago


reply
I am a new user of SLAX and I would like to congratulate to the maker of SLAX for a very fast USB boot OS.
I have a DSL PPPOe connection at home which requires username and password. When I use either the CD slax or USB slax I could not configure network to connect to the DSL provider. Please help me...
 
jcsoh
wrote 220 days ago


reply
pppoe-setup
pppoe-start

pppoe-stop
ifconfig eth0 down
pppoe-start


If you had done only the first two steps ie pppoe-setup and pppoe-start, then try doing the next three steps. Be sure to replace eth0 with your actual port.
 
arli2010
wrote 220 days ago


reply
Thanx I'll try it..
 
arli2010
wrote 220 days ago


reply
jcsoh wrote:
pppoe-setup
pppoe-start

pppoe-stop
ifconfig eth0 down
pppoe-start


If you had done only the first two steps ie pppoe-setup and pppoe-start, then try doing the next three steps. Be sure to replace eth0 with your actual port.



Thank you very much jcsoh...I am now connected to the internet using SLAX..
 
Bicephale
wrote 220 days ago


reply
Do you prefer using the CLI or a GUI?

If GUI there's 'Roaring Pinguin':

http://www.roaringpenguin.com/products/pppoe
 
jcsoh
wrote 220 days ago


reply
My concern is using either the cli or gui (Roarin Penguin) is that in /etc/ppp , the username and password is kept is a text viewable format (you can read it with any text editor) . I find this unreasonable from the security point of view. Right now using pppoe -setup method everytime from the command line , I use a script to securely delete the files with the password everytime after I connected.

I can't understand why the file is made a text viewable.
 
Bicephale
wrote 220 days ago


reply
I see, that could be a major concern indeed!

Can't the file be kept on removable media to
be inserted only during a connection phase?
 
jayflood
wrote 220 days ago


reply
If it bothers you just encrypt the file, and decrypt upon connecting. I could write a quick script for this.
 
Bicephale
wrote 220 days ago


reply
I don't use PPPoE myself but i always thought
this should be a standard feature of any Live
CD/USB release. Perhaps it would be a better
idea to just add KMenu iconized entries for
easy access (and also as a reminder), until
the author decides to fix that flaw...

;-)
 
jcsoh
wrote 220 days ago


reply
"If it bothers you just encrypt the file, and decrypt upon connecting. I could write a quick script for this."

That would be nice . Currently , I used a simple script and secure-remove (srm) (this module :http://www.slax.org/modules.php?action=detail&id=2586) to delete the relevant config.file after connecting.

What I meant is why it can't be like slax's shadow file where the root password is kept in not readable /disguised form.
 
the_greek
wrote 214 days ago


reply
hi , i think it is not hashed because
when viewed from user point of view is not visible only as root
(in a multi user system)
 
the_greek
wrote 214 days ago


reply
have you had a look at this quasi-gui sollution ;)
http://www.slax.org/modules.php?action=detail&id=996
(just adds line to knemo's submenu , wrapper to pppoe-setup see large image)
 
jcsoh
wrote 213 days ago


reply
"have you had a look at this quasi-gui sollution ;)
http://www.slax.org/modules.php?action=detail&id=996
(just adds line to knemo's submenu , wrapper to pppoe-setup see large image)"

I have seen this before and had tried it , but extracting it gives a config file. I have no idea how it runs.
There is no knemo menu or sub menu on my system ????
 
the_greek
wrote 213 days ago


reply
hi , i understand , you have allready changed config file and it has presednace
over config file inside the module

you may add it easily , by hand like on this image
add first ppp0
then the items on submenu

first item is

konsole -T SetupPPPoverEthernetConnection -e pppoe-setup --noclose

http://img682.imageshack.us/img682/1923/snapshot3s.png

if you have kde3 then K-menu --> controll center --> network monitor
add ppp0 (on lower button called 'new' ) and uncheck 'hide icon when not connected'
 
jcsoh
wrote 213 days ago


reply
@ the_greek

It work great! .Now I have an icon that I can right click with the mouse to do:
pppoe-setup
pppoe-stop
pppoe-start
ifconfig eth0 down
pppoe-start (just use the same button)

Can I impose on you a bit more ?
I still need two more steps . If you can gib\ve me the syntax to run it , it will be great. Otherwise I can still run it from the console (making use of bash history).

(a) I need to change subdirectory to /mnt/sda2/slax612cfg/changes/etc/ppp , where I save a script name del.sh
This is what I type in a console:

cd /mnt/sda2/slax612cfg/changes/etc/ppp


(b) Once I am in /mnt/sda2/slax612cfg/changes/etc/ppp , I run the script del.sh.
This is what I type in a console:

./del.sh


I tried putting the following command in the knemo-pppo , but it didn't work"
(a) konsole -e cd /mnt/sda2/slax612cfg/changes/etc/ppp--noclose
 
the_greek
wrote 213 days ago


reply
i think it is possible to directly call script with path try:
sh /mnt/sda2/slax612cfg/changes/etc/ppp/del.sh
(if it's a -sh- script)
or (in case of -bash- based script )
bash /mnt/sda2/slax612cfg/changes/etc/ppp/del.sh
or just plain:
/mnt/sda2/slax612cfg/changes/etc/ppp/del.sh
*this is in case that del.sh is not dependant of the current working directory

or you may try ,by using comma separation: *it appears this last one is not working :(
cd /mnt/sda2/slax612cfg/changes/etc/ppp/ ; ./del.sh
 
jcsoh
wrote 213 days ago


reply
All three worked:
sh /mnt/sda2/slax612cfg/changes/etc/ppp/del.sh
bash /mnt/sda2/slax612cfg/changes/etc/ppp/del.sh
/mnt/sda2/slax612cfg/changes/etc/ppp/del.sh

The last will change the subdirectory , but not run the script.
Thanks again . I had put the simplest (/mnt/sda2/slax612cfg/changes/etc/ppp/del.sh) in the knemo-ppo , and now I can just click the submenu to run the script.

Just incase you are wondering , the script is to delete the config files with my username and password (since they are in human readable form). The disavantage of deleting them is once I disconnect , I need to rerun the pppoe-setup.

Thanks again.
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Visit Tomas M's blog for fun, mostly on religious idiocy.