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.
2. smabadduser venkat:venkat 3. smbpasswd venkat
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:
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:
Hope I haven't confused you more.
Have a Linux Issue?
Linux Home: Linux System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|