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.
|
 |
08-05-2005, 12:01 AM
|
#1
|
LQ Newbie
Registered: Aug 2005
Posts: 7
Rep:
|
Windows to Linux
hello all,
im running Debian Sarge (stable) with KDE 3.3 and with the 2.6.12 kernel, i was wondering how to get windows to broadcast an internet signal to a linux rig via LAN. im using SMB4k for file sharing (which works) and ive manually configured the windows TCP/IP protocal as follows:
IP Address: 192.168.0.1
Subnet Mask: 255.255.255.0
Default Gateway: blank
Use DNS Server: 199.166.210.2
Alternate DNS Server: 199.166.210.5
My interfaces config on Linux in etc/network is set as follows:
IP Address: 192.168.0.2
Netmask: 255.255.255.0
Network: 192.168.0.1
Broadcast: 192.168.0.255
DNS: 199.166.210.2
Alternate DNS: 199.166.210.5
any help is much appreciated
Last edited by |<GBS>|Gibson; 08-05-2005 at 12:03 AM.
|
|
|
08-05-2005, 02:07 AM
|
#2
|
Member
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835
Rep:
|
I'm trying to figure out exactly what you are trying to do. Are you trying to share an internet connection between two machines? In that case I think you want to try a bridge from your windows box.
It may help if you rephrased your intention.
|
|
|
08-05-2005, 02:48 AM
|
#3
|
Member
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204
Rep:
|
Sounds like you want to use your Windows box to connect to the internet then act as a firewall/proxy for the linux box. I this is the case then you need to run the "I want to use my windows box to pass packets to an internal LAN" wizard, not the real name but when you see the option you'll recognise it. Then point your linux box default gateway at your windows address. You may also need to adjust any firewall settings on the Windows box to let it see your internal lan
|
|
|
08-05-2005, 03:31 AM
|
#4
|
LQ Newbie
Registered: Feb 2005
Location: Jalandhar
Posts: 15
Rep:
|
do this.it might help u out...
hi dear...what i came to know is...i think u want to internet from linux server on the windows plateform..
if so then make ur linux as proxy server abd try to run internet from windows system...
i hope u wont get any problem in configuring linux as ur proxy server...if u get then send me any mesage i am here always for help u /...
ok bbye
Regards...
Raju
|
|
|
08-05-2005, 05:35 AM
|
#5
|
Member
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290
Rep:
|
Re: Windows to Linux
Quote:
Originally posted by |<GBS>|Gibson
hello all,
im running Debian Sarge (stable) with KDE 3.3 and with the 2.6.12 kernel, i was wondering how to get windows to broadcast an internet signal to a linux rig via LAN. im using SMB4k for file sharing (which works) and ive manually configured the windows TCP/IP protocal as follows:
|
Very simple: Tell the linux box to use the windows IP as default gateway.
|
|
|
08-05-2005, 07:40 AM
|
#6
|
LQ Newbie
Registered: Aug 2005
Posts: 7
Original Poster
Rep:
|
sorry for the misunderstanding about my intentions, but yes im trying to get the windows box to share internet to my linux machine i think gd2shoe is correct that i have to create a network bridge. i wouldnt know because i cant edit a config file and all these wizards and auto-recognize actions are strange to me on windows, thanks for the help
|
|
|
08-05-2005, 08:40 AM
|
#7
|
Member
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Fedora Core 4
Posts: 184
Rep:
|
Are you absolutely sure that you want to do this that way around? By that I mean use the Windows box as the gateway to the Internet & connect your Linux box to it for Net access? As far as security goes, doing it the other way around would be BY FAR the best way to go about it. Windoes has MANY very well known security holes which HEAPS of people out there exploit simply for fun & as a way of saying: "Well, serves you right for connecting Windoes to MY world!"
Linux is very simple to setup as a firewall/router & once you do the number of free utilities out there to monitor, configure, setup a firewall, maintain, etc. are limitless.
I would VERY STRONGLY recommend that you use your Linux box as the gateway & connect your Windows box to it if this is at all possible. Linux's security compared to Windows' is like chalk & cheese! Also, the number of people who both can & would be willing to help you will be greatly increased if you set things up the "correct" (Linux) way.
Anyway, if you don't have a choice in the matter, it depends greatly on which version of Windows you are running as to how to configure it as a gateway. Anything less than XP Service Pack 2 would be useless! Also, do you have Cable or just dial-up? Do you want to run a firewall? (I would hope so!) Do you use such programs as File Sharing, Torrent downloaders, SSH, etc, basically anything that requires the use of a particular port? Special firewall conditions are required for these.
Answer these questions & more help can be supplied.
|
|
|
08-05-2005, 11:38 PM
|
#8
|
Member
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204
Rep:
|
Try setup->control panel->Network Setup Wizard, it allows you to share your internet connection with your home network. Try that wizard and see if it gives you what you want.
|
|
|
08-06-2005, 04:08 AM
|
#9
|
Member
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835
Rep:
|
fuzzyash is right in that connecting them the other way around will be much more secure for the windows box. If you are directly exposed to the internet (not behind a router, as it sounds like) then it is really a good idea to switch the two (although I see connection sharing as being a bit tougher from linux, it is more rewarding).
If you insist on doing it from XP to linux, then there are several ways you can set up the bridge. There is a networking wizard which is sometimes useful. The easiest way, however, is to open up the "network connections" window (available on the control panel), select two or more connections (use the ctrl key) and then select bridge from the left hand side. It really takes longer than it should, and bridging will sometimes break things (until the bridge is removed), but at least it is provided.
here's a little bit of trivia: Which Pre-XP operating system shipped with the ability to share an internet connection? Windows 98se did (I just can't remember off the top of my head how to enable "connection sharing". I remember that you need dial-up networking installed though).
|
|
|
08-06-2005, 05:16 AM
|
#10
|
Member
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Rep:
|
Assuming you're using Windows XP, go to Start>Control Panel>Network Connections and right-click on the icon that represents your internet connection (NOT THE LAN CONNECTION TO YOUR LINUX BOX!). Choose "Properties," then the "Advanced" tab. About midway down, there'll be a box saying "Internet Connection Sharing." Enable the first check box (labeled "Allow other network users to connect through this computer's Internet connection"), then disable the second box (labeled "Allow other network users to control or disable the shared Internet connection") if you feel so inclined. Click "OK" and you're good to go!
Last edited by Charred; 08-06-2005 at 05:19 AM.
|
|
|
All times are GMT -5. The time now is 10:37 PM.
|
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
|
|