Linux - NewbieThis 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
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed the latest version of Sabayon linux (Very impressed, some wonderful eye candy). I can no longer get onto the internet, I have shut down and started again but to no avail. I am told there is something wrong with the network manager but I don't know what. I have two network cards which may confuse the issue.
Second question, how to I permanently put a directory into my path? I tried export PATH=$PATH:/directory but that only seems to work until I log in again.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
With two network cards your internet connection may be on eth1 or eth0. Try /sbin/ifconfig to check if any network interface is bound to an ip address. If not, put this in /etc/network/interfaces
For your second question, if you place that export in a file called .profile (note the ".") in your home directory, that export will be executed every login.
Given that information, you should create a file with a full path of:
/home/mat/.profile
Put in that file the export statement that you know works. Yes, this should load that export automatically whenever you login so you won't have to run the export manually.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.