Click to See Complete Forum and Search --> : Rh9 + win98
kanbeki
05-26-2003, 10:09 PM
I'm very new with linux and the like and I'm trying to network my old win98 box to my linbox which is running rh9 and has the internet connection. I'm not quite sure about how getting the two to communicate..so any input on this subject would be greatly appriciated
we need to know a bit more about yoru setup. Do you have a router or are you going to hook them up directly to eachother? Do you need to just transfer files occasionally or share files all the time?
bosox79
05-26-2003, 10:40 PM
Originally posted by pr0c
we need to know a bit more about yoru setup. Do you have a router or are you going to hook them up directly to eachother? Do you need to just transfer files occasionally or share files all the time?
The more info you can give is the better. what type of net connection do you have eg cable/dsl or dialup.
kanbeki
05-26-2003, 10:47 PM
I have a broadband connection that uses dynamic ips and assigns them via DHCP, I'd like the two machines to be able to share files at any given time and share my internet connection, the two are currently connected with a crossover cable.
bosox79
05-27-2003, 06:46 PM
Originally posted by kanbeki
I have a broadband connection that uses dynamic ips and assigns them via DHCP, I'd like the two machines to be able to share files at any given time and share my internet connection, the two are currently connected with a crossover cable.
for the net connection sharing I would take a look at this link
http://www.justlinux.com/nhf/Networks/Easy_Internet_Sharing.html
and then has far as sharing files you will need to setup your connection & configure samba. this link should help answer both questions
http://www.experts-exchange.com/Networking/Linux_Networking/Q_20335069.html
for more help with samba check out http://www.justlinux.com/nhf/Networks/Samba.html
post back if I can be of further assistance
bosox79:D
kanbeki
05-28-2003, 04:42 PM
I'm sorry but none of these methods worked correctly for me..could you please try to find something simpler? thank you
bosox79
05-29-2003, 03:10 PM
Originally posted by kanbeki
I'm sorry but none of these methods worked correctly for me..could you please try to find something simpler? thank you
When you say the did'nt work what do you mean? what step did you get stuck on?
kanbeki
05-29-2003, 03:14 PM
The two pcs can share files, the connection between the two has been established, I just cannot figure out how to share my internet connection, and using the two firewalls recommended in the tutorial didn't work and the second and third links just didn't work at all for me
bosox79
05-29-2003, 04:03 PM
Originally posted by kanbeki
The two pcs can share files, the connection between the two has been established, I just cannot figure out how to share my internet connection, and using the two firewalls recommended in the tutorial didn't work and the second and third links just didn't work at all for me
So you are able to share your files now? you just need to figure out how ro share your internet connection now? are you just having issues with the firewall setup?
this is going to involve a little work & reading on your part but hopefully this links will be of more help.
http://www.computing.net/linux/wwwboard/forum/19917.html
http://www.redhat.com/mirrors/LDP/HOWTO/IP-Masquerade-HOWTO/
You basicly have two options 1. setup what is called IP Masqurading, this will allow you to setup a NAT Network Address Translation
that will then allow you to share the ip from your RH box. or your second option and probly the easist thing to do would be to get a router.:cool:
& let it handle all the dirty work:D
Idid a quick google.com/linux search for linux routers & this is what I found
http://www.nextag.com/serv/main/buyer/outpdir.jsp?doSearch=y&search=linux%20routers
kanbeki
05-29-2003, 04:26 PM
A router? pfft..if I got a router what would be the fun in answering, asking and constantly compiling and installing? but uh..I got stuck when I try to run /etc/rc.d/rc.local I get this error/etc/rc.d/rc.local: line 9: iptables: command not found but where I do whereis iptables I get this iptables: /sbin/iptables /lib/iptables /usr/share/man/man8/iptables.8.gz ...a little help?
I think you're getting the "command not found" cause in the rc.local file it just says "iptables", try using "/sbin/iptables". It should work.
kanbeki
05-29-2003, 06:41 PM
what do you mean by try using? is there a conf file that I need to edit?
Originally posted by kanbeki
what do you mean by try using? is there a conf file that I need to edit?
He means to issue the following commands:
su
<enter you password and press enter>
/sbin/./iptables
kanbeki
05-29-2003, 08:30 PM
I've already done that before and it makes no diffrence, /etc/rc.d/rc.local still produces an error
sploo22
05-29-2003, 09:09 PM
Edit your rc.local file, changing all instances of iptables to /sbin/iptables.
kanbeki
05-30-2003, 06:20 PM
okay, I've made progress guys but I get stuck here
http://www.redhat.com/mirrors/LDP/HOWTO/IP-Masquerade-HOWTO/configuring-win9x.html
I don't know my ISP's domain, DNS servers, or what I should fill in the host blank in win98..little help pls?
bosox79
05-30-2003, 09:04 PM
Originally posted by kanbeki
okay, I've made progress guys but I get stuck here
http://www.redhat.com/mirrors/LDP/HOWTO/IP-Masquerade-HOWTO/configuring-win9x.html
I don't know my ISP's domain, DNS servers, or what I should fill in the host blank in win98..little help pls?
did your isp give you static or dynamic ip address? most likely you will have a dynamic ip (DHCP), if this is the case you should be able to select the button that says Use DHCP to assign addresses. you may need to get your domain info from your isp. but your domain should be the info after the @ part of your e-mail address. ie my domain is attbi.com.
hope that helps clarify things a little
bosox79
kanbeki
05-30-2003, 10:01 PM
As I have stated before, my IP is Dymanic and is assigned VIA DHCP, you were correct upon assuming this, my ISP is comcast..does anyone know the domain? is it just comcast.net?
bosox79
05-30-2003, 10:16 PM
Originally posted by kanbeki
As I have stated before, my IP is Dymanic and is assigned VIA DHCP, you were correct upon assuming this, my ISP is comcast..does anyone know the domain? is it just comcast.net?
comcast has taken over for AT&T in my area as will they have not finished switching the domains over yet, but it is supposed to be complete by june 30. so yes that should be your domain name comcast.net :D
kanbeki
05-30-2003, 10:21 PM
and the host and dns?
bosox79
05-31-2003, 01:18 AM
Originally posted by kanbeki
and the host and dns?
With a dhcp connection you really shouldn't need to do much. your host name can be pretty much whatever you want it to be
check out this link for help with your DNS setup http://help.broadband.att.com/faq.jsp?content_id=1729
kanbeki
05-31-2003, 01:37 AM
but..I need DNS...that tells me to disable it...wtff :\
bosox79
05-31-2003, 03:09 AM
Originally posted by kanbeki
but..I need DNS...that tells me to disable it...wtff :\
Your dns name should be established for you via dhcp my hostname for example is localhost.localdomain so the name does not matter. your primary and secondary dns addresses should be assigned by the server.
your dns search path should be something like comcast.com:cool:
kanbeki
05-31-2003, 03:16 AM
I don't think you understand what I need..DHCP will establish a DNS address for my HOST computer, this one, but I need the dns address so that I can assign it to the Client computer....I think..I'm still not sure how ip masq works.
bosox79
05-31-2003, 03:38 PM
Originally posted by kanbeki
I don't think you understand what I need..DHCP will establish a DNS address for my HOST computer, this one, but I need the dns address so that I can assign it to the Client computer....I think..I'm still not sure how ip masq works.
you may want to take a look at this thread, it may help us shed some more light on the problem
http://www.justlinux.com/forum/showthread.php?s=&threadid=91795&highlight=assign+a+dns+to+a+client
:cool:
kanbeki
06-02-2003, 09:16 PM
uh..yeah I'm not quite sure whats going on in that article..