Linux Questions on Networking

My friend attended a test and has been told to answer these questions by tonite.....Please help if u know the answers

Question 3 - I have successfully installed the KPPP dialer on my Redhat 7.2 machine - however whenever i try to run it it asks for the root password - since many users access the net from my machine (and i do not want to share the root password) i want to be able to dial out as any user - how do I do it?

Question 4 - I am in the process of moving my LAN to a linux environement but do not want to go whole hog in one shot - I plan to initially run both Linux and windows desktops in the same LAN and woudl prefer that I have seamless acess to files on the other OS in both machines. I configured my SAMBA server but whnever i try to log on I get an authentication failure - whats going wrong and what should I do?

About question 4.
1. first add the user (as in windows , eg , if venkat then , #adduser venkat)

2. smabadduser venkat:venkat

3. smbpasswd venkat
(type lets say venkat as the passwd)

4. restart services as "services xinetd restart"

Should do the job

Hope that helps

Question 3 setting up a user group with appropriate permission.

Question 4 You need to have a samba user name and password added to the Linux Box.

But you learn much more by doing your own research.

I am fairly new to Linux and am finding it most enjoyable, I have a problem though. I am trying to turn an old computer into a firewall using IP_Masqueraiding and Iptables, on paper this seems fairly straight forward though I must admit I am now lost in it. I have got both NIC's recognised and have set up internal ip addresses on both the internal NIC's and using the "/sbin/ifconfig" command, I see that everthing seems fine.

The only problem is I cannot communicate in any way between machines, no ping at all, also with the gateway machine do I set the gateway address on the internal NIC to the gateway on the external NIC? (does that make any sense?) can anyone help!!!!!!!!!!!.

Thanks in advance. I am using RedHat 8 with a cable modem using DHCP......

The gateway should be set to the address of the external nic.

Example:
Let's use two machines as the example, it's a bit easier to understand.

Machine (A) uses the DHCP address on ether0 to connect to the cable modem and you have assigned ether1 the address of 192.168.0.1.

Machine (B) would use the 192.168.0.1 as the gateway address.

So you would have somethng like this:
eth0 192.168.0.2 <IP Address> 255.255.255.0 <Network Mask> 192.168.0.1
<Default Gateway>

Hope I haven't confused you more.

Have a Linux Issue?
Do you have a Linux Question?

Linux Home: Linux System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.