Newbie Ubuntu Linux Questions

25 pts.
Tags:
Debian
Linux servers
Linux Ubuntu Samba
Please help.

I have two questions about seting up my Ubuntu machine -

First, I want to install two network cards, and have them be

totally independent of each other (separate ip addresses,etc.).

When I just list them in the /etc/interfaces file I get a situation

where the first card responds to both ip addresses. What is a

simple way of configuring this?

Also, I need to be able to read a file on the Ubuntu

computer from my windows machine, which is in an AD domain.

I've created a share and can browse to the folder from

Windows, but I don't have premissions to open the file

(to read). How do I assign permissions to do this. I know

this should be easy, but I'm having trouble figuring it out.

Any help appreciated.



Software/Hardware used:
Ubuntu 8 Linux server.
ASKED: October 9, 2009  5:40 PM
UPDATED: February 28, 2011  3:27 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Open /etc/network/interfaces in ur favorite editor and u can setup interfaces from there. Now pass the commands:
sudo /etc/init.d/networking restart
sudo ifup eth0
sudo ifup eth1
Now restart the computer.

——————————————

More directly, about your interfaces and “What is a simple way of configuring this?” – Rechil’s answer will help you “bring them up”, but you can specify which interface gets what IP address with the IFCONFIG command. With this, you can statically assign the IP address you want to the interface you want it on…

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Gent01
    For the share issue you will have to either have to join your linux machine to the domain, or give everyone permissions on the windows share. I know the answer to your first question as well, but I can't find it right now. It has to do adjusting the priorities in the routing table and adding a route or two.
    1,870 pointsBadges:
    report
  • carlosdl
    The interfaces file mentioned by Rechil is the place to configure the interfaces if you want to do it manually, so using ifconfig is just another way to do it. BTW, I don't see the point of ifup-ing them if the machine is going to be restarted.
    65,110 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following