wireless Vista <-> Mandriva : Can't see each other.
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
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.
wireless Vista <-> Mandriva : Can't see each other.
Hi
My daughter has been given a MS Visa loaded laptop for her birthday and I'm running Mandriva on the desktop.
I am trying to get the two machines to talk to each other.
Using the "Connect to a network" dialog in Vista, the Vista laptop can see other wireless networks that people in my street have setup (good for them they have put WEP on so I cannot connect to them, but I can see they are there).
My Mandriva desktop can also see the same networks the Vista laptop can see. I am using Mandriva Control Centre's "Wireless Network" dialog.
So, each machine can see other networks.
HOWEVER, they cannot see each other.
My Mandriva desktop has a Edimax EW-7117U mini wireless USB dongle. The USB system seems to recognise the wireless USB adaptor and the kernel module zd1201 driver is loaded. I haven't done any of this, it seems to have been setup when I added the interface (wlan0) through the Control Centre.
How do I get this working please?
This is some info for anyone who might be able to help...
If you got following message:
"Given IPv4 address 'a.b.c.d.' is not globally usable"
"6to4 configuration is not valid"
Then you got a RFC1918 or similar IPv4 address via DHCP. With such IPv4 address, you can't use 6to4 in a global way. For local tests, remove the check in "network-function-ipv6" around line 1020 (function "ipv6_create_6to4_relay_address"). For global usage, either you need a global IPv4 address or a dedicated 1:1 NAT rule in your masquerading gateway. In second case, you have to specify the outside global IPv4 address by using option "IPV6TO4_IPV4ADDR".
However... are you trying to use tho mandriva box a a WAP or is this supposed to be ad-hoc?
Vista laptop can connect to other networks (currently only 1 without WEP).
Mandriva can connect to other networks.
The two cannot see each other.
I've removed IPv6 from the equation.
Sorry. I dont understand your ad-hoc/WAP question?
I have a wireless usb dongle which I added through default setup in Mandriva. There is no WAP. The other NIC is eth0 and is motherboard LAN.
This is really annoying.
Everything looks fine. Must be a prob somewhere?
I dont know the first thing about linux networking , just selected defaults from Mandriva. I'm just trying to get the internet connection in Mandriva, shared to the laptop so I can wander around the house/garden with the lappy!!
... sounds like there is no reason for the machines to see each other.
The other networks you can see are wireless access points (WAP). Do you use one, (i.e. a wireless router) to mediate your connection or do you expect the computers to talk directly to each other?
... sounds like there is no reason for the machines to see each other.
The other networks you can see are wireless access points (WAP). Do you use one, (i.e. a wireless router) to mediate your connection or do you expect the computers to talk directly to each other?
I really do not know what to expect with Linux.
I'm migrating from Windows to Linux. Need some help!
I just want the internet connection shared to the laptop.
Which machine connects to the internet and how does it do this?
(Note, the wiki link at the top of my last post tells you how to connect two computers together via wireless cards.)
The easiest way to share an internet connection is to use a router which can use DHCP. If you have one of those, you are home and dry.
However, I am guessing that the Mandriva box has internet access over a wire of some kind as well as that wireless dongle. This is trickier but not hard.
I'm glad you find this tricky, its a nightmare for me
The Mandriva box is wired over ethernet to a wired router. This router is connected to broadband modem. The internet is fine - I'm posting this so you know it is!
Now, the Mandriva box also has a wirless USB mini adaptor plugged into a USB slot. The output of which I've posted above and it "seems" to be working - obviously not though.
The vista laptop has an integrated WiFi adaptor.
Both computers can see WAP devices switched on in the physical neighborhood (my street) but not each other. I guess the USB mini adapter is not acting as a WAP?? Maybe I'm wrong. Maybe is doesn't matter.
I'm totally lost here so appreciate your kind assistance Simon
EDIT:
-----
Used your link and the vista laptop CAN NOW ping the Mandriva box but, DNS is not working (pinging www.google.co.uk times out) and explorer cant find anything.
I can ping both ways and traffic is sent/received by both.
However, the laptop doesnt respond to pings to www.google.co.uk nor does explorer find any sites.
Used your link and the vista laptop CAN NOW ping the Mandriva box but, DNS is not working (pinging www.google.co.uk times out) and explorer cant find anything.
I can ping both ways and traffic is sent/received by both.
However, the laptop doesnt respond to pings to www.google.co.uk nor does explorer find any sites.
NEARLY THERE!
can you help Simon?
Neat... now you just need to share your internet connection. This involves setting up your linux box as an internet gateway using IP Forwarding in iptables.
# Set up IP FORWARDing and Masquerading
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface wlan0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
... assuming a default drop policy for all chains. I'm sure I have a better example in notes someplace... if this doesn't do the trick, I'll go look. However, yau should have enough keywords up there to google it for yourself now
I've got rid of Vista. Too slow. The wife aint happy!
So, two Mandriva boxes, one desktop (192.168.1.50), one laptop (192.168.1.25).
Static IPs no DHCP.
Both can now see the Ad-Hoc network ESSID "Linux3"
A pop up window appears in Gnome on the laptop telling me a network is up on ra0 (interface).
No pop up on the laptop though when I issue ifup wlan0 ?
Both can see the Ad-Hoc network.
When I ping from the laptop I get:
Code:
From 192.168.1.25 icmp_seq=204 Destination Host Unreachable
From 192.168.1.25 icmp_seq=204 Destination Host Unreachable
From 192.168.1.25 icmp_seq=204 Destination Host Unreachable
..repeated
and if I enter dmesg on the desktop I get
Code:
printk: 4 messages suppressed.
martian source 192.168.1.50 from 192.168.1.25, on dev wlan0
ll header: ff:ff:ff:ff:ff:ff:00:0d:f0:34:19:58:08:06
printk: 4 messages suppressed.
martian source 192.168.1.50 from 192.168.1.25, on dev wlan0
ll header: ff:ff:ff:ff:ff:ff:00:0d:f0:34:19:58:08:06
printk: 4 messages suppressed.
martian source 192.168.1.50 from 192.168.1.25, on dev wlan0
ll header: ff:ff:ff:ff:ff:ff:00:0d:f0:34:19:58:08:06
So, the two looks like they can see each other and some form of traffic is being sent.
When I plug the USB wireless dongle in I get (from dmesg):
Code:
usb 3-2: wlan0: rx urb failed: -110
usb 3-2: USB disconnect, address 27
usb 3-2: new full speed USB device using ohci_hcd and address 28
usb 3-2: device not accepting address 28, error -110
hub 3-0:1.0: Cannot enable port 2. Maybe the USB cable is bad?
hub 3-0:1.0: Cannot enable port 2. Maybe the USB cable is bad?
which doesn't look that good, does it?
I'm learning a lot thanks to you guys, and starting to "play" with linux, kernels, drivers and alike. Would never have done this with the "other" O/S but hey, knowledge is power
BTW, my kernel: its:
Code:
# uname -a
Linux localhost 2.6.17-13mdv #1 SMP Fri Mar 23 15:18:36 EDT 2007 x86_64 Intel(R) Pentium(R) 4 CPU 3.06GHz GNU/Linux
I think your interface wlan0 now has the name ra0.
GlennsPref.
|EDIT|, adhoc networks are kind of open, like for a cafe, colleges and universities, the other type (Infrastructure)is more secure, but save that for when you get it all set. Itś easy to change without having to redo heaps of other configs.
set Channel to "0" for auto-select on Infrastructure mode
What does the readme say that came with the opensource driver module?
The one I have for a different device (D-Link RT61)has a very intuitive readme file.
see how you go.
Glenn.,
Last edited by GlennsPref; 06-12-2007 at 06:38 AM.
I think your interface wlan0 now has the name ra0.
GlennsPref.
|EDIT|, adhoc networks are kind of open, like for a cafe, colleges and universities, the other type (Infrastructure)is more secure, but save that for when you get it all set. Itś easy to change without having to redo heaps of other configs.
set Channel to "0" for auto-select on Infrastructure mode
What does the readme say that came with the opensource driver module?
The one I have for a different device (D-Link RT61)has a very intuitive readme file.
see how you go.
Glenn.,
Erm, no don't think so.
wlan0 is defo the desktop.
ra0 is the laptop.
That bit is okay.
I'll have a look at the infrastructure mode. How do I configure both interfaces please? I'm a linux noob remember!
What i'd really like to know as well, is what "martian source" and "printk" errors are, as i gave above. It looks like my two machines are "talking" but not the same language.
"martian source": Packets that come to you from a source not consistent with the routing statements for an interface are from way out there somewhere, like Mars, hence martian source. FYI: http://www.dclug.org.uk/archive/2005/07/msg00038.html
"192.168.1.50 from 192.168.1.25" which is what?
Best - draw a wee diagram of your intended network.
BTW: I thoucht you had a desktop box with eth0 to the internet and a wired router. Now you're telling me you have a wireless router after all?
Its quite simple:
I have a desktop. Its has two interfaces: eth0 (wired to a wired router gateway to net) and wlan0 (wireless)
I have a laptop with a wireless interface (ra0)
192.168.1.50 = desktop
192.168.1.25 = laptop
I want the laptop to be setup Ad-Hoc to the desktop and the desktop to share its internet connection to the laptop.
I heard Linux was a nightmare to setup wireless networking, never in my wildest dreams did I thin it would be this hard. For a n00b, its really daunting and no wonder people stick with Windows. Gosh, please help.
If someone could PLEASE provide LAYMEN terms and step by step instructions on how to set these three adapters up, I'd be happy.
Incidentally the eth0 interface on desktop works fine, I have internet. I just cant get the two wireless adapters talking not sharing the internet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.