Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
09-02-2001, 12:26 PM
|
#1
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Rep:
|
Setup help needed 2
Hi guys .. yes its me again.
I need some help big time.
I,ve got two network cards based upon the rtl chip. One in a Linux Mandrake box the other in wondows. But how do I set these up??????? I also want to connect both PC,s to the internet with a dial up modem, doesnt really matter which PC has the modem conected to it but I gues its easier if it,s on the Linux box???
Anyway I understand that the IP addresses I should use are
192.168.xxx.xxx so I thought
192.168.0.1 for the Linux box
192.168.0.2 for the Windows box
and I gues that I also have to setup a gateway on both PC,s but what do I set this to??
Also do I need to supply a DNS IP addy and is there anything else I need to set and what software, I,ve been told that I need to install ipchains and Samba, is this on both PC,s and why do I need it.
Err anything else you can tell me would be fantastic
I have absolutely no experience with Networking up to this point as you probably can tell  so please be patient with me
L8rs
RecoilUK
|
|
|
09-02-2001, 02:13 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Re: Setup help needed 2
The gateway is the ip address of a machine with has the modem on it. you only want to set this on the un-modem machine. (the windows one i'd recommend). just go into network settings, and enter 192.168.0.1 into the gateway tab on the TCP protocol. If you want to set up gateways on linux use the route command, or define something more permanent in linuxconf (i'm sure i said this in my email!).
You'll need dns entries in /etc/resolv.conf. Freeserve are 195.92.195.95 or .94 these are needed on both machines if you're dialling from linux, if windows has the modem, yuo should only need it in linux.
samba is file sharing, just like you can install file and printer sharing as a windows service, linux uses samba.
And ipchains allows internal networks to connect to different interfaces on a machine (i.e. linux's eth0 can talk to it's ppp0). This is nice and simple. The equivalent for windows, is icky and generally costs money.
There's really not that much else to mention i don't think... ahh make sure your samba config file only allows internal access!!! i didn't until last week.... had loads of hackers i never knew about...
|
|
|
09-03-2001, 03:48 AM
|
#3
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
Hi again
Does anyone know what the IP address that BTInternet uses for its DNS servers as I cant seem to find it mentioned anywhere on there website?????
Thx
RecoilUK
|
|
|
09-03-2001, 10:52 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
it really doesn't matter, you can use any as long as it's close yo you. wel;ll better if it's close to you...
I *think* it gets listed on the dns tab on your dial up TCP/IP tab on the network properties in windoze. not sure tho
|
|
|
09-03-2001, 11:13 AM
|
#5
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
Hi again
Is there a command I can use to find out what IP numbers my system has assigned to the cards as i,m using DHCP
Thx m8
RecoilUK
|
|
|
09-03-2001, 11:23 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
I've not even thought about going near DHCP, not really sure what it is.. either way, running 'ifconfig' should detail your linux IP address for the interface.
|
|
|
09-03-2001, 11:58 AM
|
#7
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
Hi again
I have something working but i,m not sure what lol
I,ll explain........
I,ve sorted out my ppp0 connection and my eth0 connection, I can also ping the windows box (i,ve gone back to static ip,s now)
Now how do I setup windows explorer, so far I have turned on file and printer sharing, but what do I need to set up, is it the proxy addy in explorer?
Thx m8
(Oh btw, I did set the proxy addy to 192.168.0.1 in windows and it came up with an error, but then in the error message it had one of those links to www.microsoft.com, I clicked it and it showed my apache welcome screen from Linux)
RecoilUK
|
|
|
09-03-2001, 12:16 PM
|
#8
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
NEW UPDATE
I can get the apache page by typing in http://localhost from windows, but if i give an outside internet addy its give me an error message, if there is a addy in the error message, doesnt matter what it is and I click it, I get taken back to my welcome screen????
Whats going on here then m8, its gotta be something simple, its nearly working
Thx
RecoilUK
|
|
|
09-03-2001, 12:20 PM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
I know absolutely nothign abuot apache. but presumable you mean you can't see external websites from your lan yeah? well... all i'd know to do would be to ensure ipchains is set up properly and that you've got dns sorted. try going to a site by its IP number rather than the address. if that works, it's DNS, if it doesn't.. IP routing isn';t working.
That's about all i know exhausted now...
|
|
|
09-04-2001, 03:36 PM
|
#10
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
ItsHi m8
Its ok i,ve sorted it, moved my modem over to my windows box and used dhcp. Worked first time woohoo
L8rs
RecoilUK
|
|
|
09-04-2001, 04:29 PM
|
#11
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
what do you do abuot dialing modems remotely? you surely don't have to go to a different desk do you?
|
|
|
09-05-2001, 02:08 AM
|
#12
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
Both boxes have full control over the modem if there is no internet connection present and I have a monitor with dual inputs.
One weird thing is that I cant browse my apache server on Mandrake if there isnt an open internet connection, but I think this is probably due to using DHCP, i,m gonna change it to a static ip at least on the mandrake box, I think I can do that, cant I?
RecoilUK
|
|
|
09-05-2001, 11:08 AM
|
#13
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Yeah, you can just set it in /etc/sysconfig/network-scripts/eth0 i think. Or linuxconf etc..
Seems a bit ott to be using dhcp and all with a teo box network.. but that's not the point ehh ? ;-)
|
|
|
All times are GMT -5. The time now is 05:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|