LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-02-2001, 12:26 PM   #1
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Rep: Reputation: 30
Question 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
 
Old 09-02-2001, 02:13 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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...
 
Old 09-03-2001, 03:48 AM   #3
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
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
 
Old 09-03-2001, 10:52 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
Old 09-03-2001, 11:13 AM   #5
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
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
 
Old 09-03-2001, 11:23 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 09-03-2001, 11:58 AM   #7
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
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
 
Old 09-03-2001, 12:16 PM   #8
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
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
 
Old 09-03-2001, 12:20 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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...
 
Old 09-04-2001, 03:36 PM   #10
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
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
 
Old 09-04-2001, 04:29 PM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what do you do abuot dialing modems remotely? you surely don't have to go to a different desk do you?
 
Old 09-05-2001, 02:08 AM   #12
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
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
 
Old 09-05-2001, 11:08 AM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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 ? ;-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mic setup and testing it (Help Needed) TitaniumTaz Debian 5 09-25-2005 08:30 PM
FTP Setup Help Needed. pdsst2 Linux - Networking 11 09-22-2005 08:18 AM
Needed: Mandrake 10 Raid 1 Setup How To hektor Mandriva 2 01-21-2005 02:29 AM
Mail Server Setup Help needed Hotwire Linux - Software 1 08-30-2003 02:39 PM
Setup help needed RecoilUK Linux - Networking 7 09-01-2001 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration