VectorLinuxThis forum is for the discussion of VectorLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just installed VectorLinux 6.0 on an old machine. It works fast and good, but I have an issue with the ADSL connection: every time I use pppoe-start to connect, the connection is established but I cannot access internet. I found that I have to delete the default gateway - which is automatically set-up at boot to 192.168.1.1 - and let pppoe to set it for me (to 0.0.0.0).
Here's the question: since I'd like to avoid to run the route del default command every time, how can I set it up at boot time? I already tried to change the GATEWAY variable in /etc/rc.d/rc.route and /etc/rc.d/function-network, but it doesn't work (the defauly gateway is still 192.168.1.1).
Here's is another question: is there a tool to start the ADSL connection without running pppoe-start from the command line? Something like kinternet for KDE. I'm using XFCE4.
Nope. It doesn't work. I tried your command but the default gateway is still 192.168.1.1. At this point it looks like it is set after boot, but I cannot find where it is set up. Thanks anyway.
In vectorlinux it is /sbin/vnetconf. There is also the good ol' netconfig command, but the functionality is exactly the same. It sets the hostname and configures the IP address. Since I have to use DHCP, because the IP address is dinamically assigned by the ADSL modem, I cannot setup a default gateway (and indeed I don't need it). What I need to know at this point is: which application/script is responsible to set-up the default gateway in VectorLinux/Slackware systems? So that I can override it...
I tried to add the gateway 0.0.0.0 in /etc/rc.d/rc.inet1, but it still assigns 192.168.1.1. Anyway, I've just found out that on another system running Opensuse 11.1, the default gateway is assigned the same way at boot:
Code:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.224 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
and only when I connect to the ADSL using kinternet, it is changed to
Code:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.1 0.0.0.0 255.255.255.255 UH 0 0 0 dsl0
192.168.1.0 0.0.0.0 255.255.255.224 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 dsl0
So the problem is: how can I set rp-pppoe to assign the correct (null) gateway address upon connection? I will further investigate this issue. Thank you, anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.