Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 26-05-2007, 07:48 AM   #1 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Question How to wirelessly connect LINUX and Windows


I want to network my Linux (Ubuntu &Suse ) desktop with my dad's Windows XP laptop to share files and printers over wifi connection .

My desktop confi :-

Dual boot (ubuntu & suse ) with one ethernet card and BSNL type 1 modem ...


Laoptop:-

Windows XP (home) with wifi adaptor and BSNL Type 2 wifi modem..

Objective :--Access FAT32 drives of my linux desktop wirelessly using windows desktop .

Is this possible ?
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 26-05-2007, 08:04 AM   #2 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: How to wirelessly connect LINUX and Windows

just configure samba server in ur Desktop machine(ubuntu or suse).now U need bluetooth(some external thing-dongle) enabled on ur Desktop Side.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 26-05-2007, 04:16 PM   #3 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

Quote:
Originally Posted by praka123
just configure samba server in ur Desktop machine(ubuntu or suse).now U need bluetooth(some external thing-dongle) enabled on ur Desktop Side.
can I use ethernet port of my wifi router to connect desktop with laptop ?

ok one more query is it possible to Network linux and windows using a router for internet connection and file sharing ?
__________________
Registered LINUX USER #438929

Last edited by eagle_y2j; 26-05-2007 at 04:16 PM. Reason: Automerged Doublepost
eagle_y2j is offline  
Old 26-05-2007, 05:28 PM   #4 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to wirelessly connect LINUX and Windows

For both questions => yes!
Search the forums, this has been discussed!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 26-05-2007, 08:16 PM   #5 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

Quote:
Originally Posted by mediator
For both questions => yes!
Search the forums, this has been discussed!
searched ... can u plz pin-point any relative thread.

btw I tried connecting my laptop using wifi and ethernet for desktop but I can access net only through laptop ,desktop ends up with some other IP address i.e 169.189.*.* (using DHCP) it should be 192.168.1.*
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 26-05-2007, 08:30 PM   #6 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Default Re: How to wirelessly connect LINUX and Windows

check the following
http://ubuntuforums.org/showthread.php?t=202605
https://help.ubuntu.com/community/SettingUpSamba
http://lists.samba.org/archive/wirel...er/002692.html

Last edited by gary4gar; 26-05-2007 at 08:36 PM.
gary4gar is offline  
Old 26-05-2007, 09:38 PM   #7 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to wirelessly connect LINUX and Windows

1. Just connect ur desktop to wifi router using ethernet wire (or wirelessly if possible)
2. Then connect ur laptop wirelessly!

This is done as :
1. Configure ur wireless router with "internal/LAN" IP like 192.168.0.1
Then grant ur desktop an IP like 192.168.0.2 and let ur laptop acquire IP automatically!! Ping from one pc to another and u have them as u want!!

2. Now just enable samba on linux and follow post here post#5 and configure windows!

3. Ur done!!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 27-05-2007, 06:53 AM   #8 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

Quote:
Originally Posted by mediator
1. Just connect ur desktop to wifi router using ethernet wire (or wirelessly if possible)
2. Then connect ur laptop wirelessly!

This is done as :
1. Configure ur wireless router with "internal/LAN" IP like 192.168.0.1
Then grant ur desktop an IP like 192.168.0.2 and let ur laptop acquire IP automatically!! Ping from one pc to another and u have them as u want!!
Ok here wat I followed :

Assigned a static IP address to network card in Suse 10.2 wiz 192.168.1.25


Added this IP address of linux desktop to LAN client page of my DHCP enabled router (assigned a static IP 192.168.1.25)


Sucessfully connected wifi adaptor of laptop to internet which is getting an dynamic IP my DHCP of wifi router .

but still both of these desktop and laptop can't ping each other
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 27-05-2007, 07:38 AM   #9 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to wirelessly connect LINUX and Windows

Maybe they aren't in the same netmask?
mehulved is offline  
Old 27-05-2007, 07:44 AM   #10 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

here is ipconfig of both systems

windows

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

Windows IP Configuration

Host Name . . . . . . . . . . . . : Jurisprudence
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Networ
k Connection
Physical Address. . . . . . . . . : 00-18-DE-15-97-69
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
192.168.1.1
Lease Obtained. . . . . . . . . . : Sunday, May 27, 2007 6:20:40 AM
Lease Expires . . . . . . . . . . : Wednesday, May 30, 2007 6:20:40 AM

Suse



netmask detail in popup of screenshot

Which OS to prefer for Samba (Ubuntu or Suse)?
__________________
Registered LINUX USER #438929

Last edited by eagle_y2j; 27-05-2007 at 11:05 AM.
eagle_y2j is offline  
Old 27-05-2007, 12:18 PM   #11 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to wirelessly connect LINUX and Windows

Do u have an ADSL router and a Wi-Router connected to it?
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 27-05-2007, 12:49 PM   #12 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

Quote:
Originally Posted by mediator
Do u have an ADSL router and a Wi-Router connected to it?
I am using ADSL cum wifi router and only wifi part is operating ethernet connection is to be solved
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 27-05-2007, 12:52 PM   #13 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to wirelessly connect LINUX and Windows

Hmmm then follow the IP configuration as stated by me!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 27-05-2007, 01:01 PM   #14 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

Quote:
Originally Posted by mediator
Hmmm then follow the IP configuration as stated by me!
can't figure how to

1. Configure ur wireless router with "internal/LAN" IP like 192.168.0.1


btw default gateway IP of my router is 192.168.0.1 and when u say
Quote:
let ur laptop acquire IP automatically
do u mean let laptop get automatic IP from DHCP server ? (presently laptop is geting IP from DHCP)
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 27-05-2007, 02:16 PM   #15 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to wirelessly connect LINUX and Windows

1. See, Since ur Adsl is the main gateway, therefore it is having an internal IP like 192.168.1.1.
2. Now since ur wi-router is connected to it. Therefore it must be having an IP like 192.168.1.2 or something in 192.168.1.* domain! But this is not the internal IP of ur wi-router. This is the one allocated by ur ADSL to wi-router.
3. So u need to make internal Ip of wi-router 192.168.0.1
4. Now u have to connect Desktop to that wi-router with ethernet which u want and make its IP like 192.168.0.2.
5. Also make laptop which is wirelessly connected => DHCP enabled!

After all the config, find out the IP of both the machines. If they r on same network then ping and post the results.

Also how r u connecting wirelessly on Linux?
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 28-05-2007, 07:18 AM   #16 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

Quote:
Originally Posted by mediator
1. See, Since ur Adsl is the main gateway, therefore it is having an internal IP like 192.168.1.1.
2. Now since ur wi-router is connected to it. Therefore it must be having an IP like 192.168.1.2 or something in 192.168.1.* domain! But this is not the internal IP of ur wi-router. This is the one allocated by ur ADSL to wi-router.
3. So u need to make internal Ip of wi-router 192.168.0.1
4. Now u have to connect Desktop to that wi-router with ethernet which u want and make its IP like 192.168.0.2.
5. Also make laptop which is wirelessly connected => DHCP enabled!

After all the config, find out the IP of both the machines. If they r on same network then ping and post the results.

Also how r u connecting wirelessly on Linux?
dude I am using a bsnl type(ii) modem it is having three ports one wifi ,LAN,USB .

I want to connect laptop(windows) using wifi and desktop(Suse & Ubuntu) using LAN for file and Internet sharing therefore no wireless for Linux .

But present situation is wired as I am not able to connect internet from linux desktop i.e there is some error between bsnl modem and LAN card link previously desktop use to get IP from DHCP of router but to enable file sharing I assigned static IP to desktop via yast and added this new IP in lan client section of modem .

Now it connects to this IP but can't ping modem it self ?
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 28-05-2007, 11:20 AM   #17 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to wirelessly connect LINUX and Windows

Why do u need to put the entry in modem? The routing table does that for u automatically. Remove that entry and then try.
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 28-05-2007, 04:50 PM   #18 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

^^^ no use knetwork shows IP address 192.168.1.25 but can't ping or open router gateway ! I think this is only thingh which we need to sort out ....

I was wondering do we need to bridge connection in router confi ?
__________________
Registered LINUX USER #438929

Last edited by eagle_y2j; 28-05-2007 at 04:50 PM. Reason: Automerged Doublepost
eagle_y2j is offline  
Old 28-05-2007, 05:56 PM   #19 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to wirelessly connect LINUX and Windows

Hmmmm
http://en.wikipedia.org/wiki/Network_bridge

Neways first try connecting both PCs directly using LAN wire and then ping and tell!!

Put desktop on 192.168.1.2, put laptop on 192.168.1.3.
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 29-05-2007, 09:39 AM   #20 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

Quote:
Originally Posted by mediator
Hmmmm
http://en.wikipedia.org/wiki/Network_bridge

Neways first try connecting both PCs directly using LAN wire and then ping and tell!!

Put desktop on 192.168.1.2, put laptop on 192.168.1.3.
can't ping it shows IP not reachable both sides

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/05/29 11:47:07

[global]
workgroup = JURISPRUDENCE
map to guest = Bad User
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
os level = 2
preferred master = No
local master = No
domain master = No
usershare allow guests = Yes
hosts allow = 192.168.1.2/255.255.255.0
cups options = raw
include = /etc/samba/dhcp.conf

[homes]
comment = Home Directories
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No

[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes

[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
__________________
Registered LINUX USER #438929

Last edited by eagle_y2j; 29-05-2007 at 11:54 AM.
eagle_y2j is offline  
Old 29-05-2007, 07:03 PM   #21 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to wirelessly connect LINUX and Windows

Hmmm, Since u can't connect to internet also then check ur ethernet wire! Get a new crossover ethernet wire and then try!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 02-06-2007, 04:12 PM   #22 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

Ok one question do I need to have static IP over each system in my network for Samba ?
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 02-06-2007, 06:44 PM   #23 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to wirelessly connect LINUX and Windows

I dunno much about samba....will explore it when I'll replace my dieing PC. But for LAN configuration static IP is usually the way. So go for it!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 02-06-2007, 07:16 PM   #24 (permalink)
Alpha Geek
 
eagle_y2j's Avatar
 
Join Date: Nov 2004
Location: Himalayas
Posts: 719
Default Re: How to wirelessly connect LINUX and Windows

sucessfully configured Samba I m using DHCP for both machines
__________________
Registered LINUX USER #438929
eagle_y2j is offline  
Old 02-06-2007, 07:19 PM   #25 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to wirelessly connect LINUX and Windows

Good u can write a tutorial now "How to configure Samba" .
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Access Bsnl Data1 Wirelessly bhutbhut Hardware Q&A 7 20-01-2007 02:19 PM
How to connect my NOKIA 6630 in linux? Manshahia Open Source 5 29-11-2006 01:25 PM
Can i connect my PC & my music system (aiwa) wirelessly? dead-man QnA (read only) 7 11-03-2006 11:34 PM
network laptop & desktop,also share a LAN Net wirelessly netneo Networking 2 19-06-2005 03:32 PM
connect using reliance in linux escape7 Open Source 9 31-12-2004 06:42 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan
- by reddick

Advertisement




All times are GMT +5.5. The time now is 12:35 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2