LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-10-2007, 03:59 AM   #1
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
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...
Code:
# lsusb
Bus 004 Device 037: ID 04b8:0007 Seiko Epson Corp. 
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 027: ID 0ace:1201 ZyDAS 802.11b WiFi
Bus 003 Device 061: ID 09da:002b A4 Tech Co., Ltd 
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 001: ID 0000:0000  

#lsmod
Module                  Size  Used by
nls_iso8859_1           9216  1 
isofs                  36964  1 
sg                     37672  0 
parport_pc             37800  1 
lp                     16080  0 
parport                40204  2 parport_pc,lp
zd1201                 25732  0 
usblp                  16896  0 
evdev                  13696  1 
tsdev                  11264  0 
usbmouse                8832  0 
snd_seq_dummy           7300  0 
snd_seq_oss            36608  0 
snd_seq_midi_event     11264  1 snd_seq_oss
snd_seq                59008  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         11156  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            47392  0 
snd_mixer_oss          19968  1 snd_pcm_oss
af_packet              26636  4 
snd_intel8x0           36520  1 
snd_ac97_codec        113240  1 snd_intel8x0
snd_ac97_bus            6528  1 snd_ac97_codec
snd_pcm                82568  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              24840  2 snd_seq,snd_pcm
snd_page_alloc         12176  2 snd_intel8x0,snd_pcm
snd                    58600  11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              12576  1 snd
ipt_IFWLOG              7560  2 
ipt_psd                52112  1 
ip_set_iptree          11024  2 
sis900                 26240  0 
mii                     9088  1 sis900
usbhid                 58400  0 
iptable_raw             5888  0 
xt_policy               7680  8 
xt_multiport            7424  4 
ipt_ULOG               12424  0 
ipt_TTL                 6144  0 
ipt_ttl                 5888  0 
ipt_TOS                 6144  0 
ipt_tos                 5632  0 
ipt_TCPMSS              7808  0 
ipt_set                 6400  2 
ipt_SAME                6528  0 
ipt_REJECT              8832  4 
ipt_REDIRECT            6272  1 
ipt_recent             13976  0 
ipt_owner               6016  0 
ipt_NETMAP              6272  0 
ipt_MASQUERADE          7680  1 
ipt_LOG                10752  11 
ipt_iprange             5760  0 
ipt_hashlimit          12304  0 
ipt_ECN                 6912  0 
ipt_ecn                 6144  0 
ipt_DSCP                6144  0 
ipt_dscp                5760  0 
ipt_CLUSTERIP          11784  0 
ipt_ah                  5888  0 
ipt_addrtype            5888  0 
ip_set_portmap          8704  0 
ip_set_macipmap         8328  0 
ip_set_ipmap            8320  0 
ip_set_iphash          11656  0 
ip_set                 23596  11 ip_set_iptree,ipt_set,ip_set_portmap,ip_set_macipmap,ip_set_ipmap,ip_set_iphash
ip_nat_tftp             5760  0 
ip_nat_snmp_basic      14340  0 
ip_nat_sip              7680  0 
ip_nat_pptp             9348  0 
ip_nat_irc              6528  0 
ip_nat_h323            10496  0 
ip_nat_ftp              7552  0 
ip_nat_amanda           6144  0 
ip_conntrack_tftp       8024  1 ip_nat_tftp
ip_conntrack_sip       11216  1 ip_nat_sip
ip_conntrack_pptp      14240  1 ip_nat_pptp
ip_conntrack_netbios_ns     6656  0 
ip_conntrack_irc       10192  1 ip_nat_irc
ip_conntrack_h323      55840  1 ip_nat_h323
ip_conntrack_ftp       11216  1 ip_nat_ftp
ip_conntrack_amanda     7952  1 ip_nat_amanda
xt_tcpmss               6400  0 
xt_pkttype              6016  4 
xt_physdev              6416  0 
xt_NFQUEUE              6144  0 
xt_MARK                 6656  0 
xt_mark                 6144  0 
xt_mac                  6016  0 
xt_limit                6656  0 
xt_length               6144  0 
xt_helper               6400  0 
xt_dccp                 7176  0 
xt_conntrack            6528  0 
ipv6                  278880  14 
xt_CONNMARK             6400  0 
xt_connmark             6272  0 
xt_CLASSIFY             6016  0 
xt_tcpudp               7424  13 
xt_state                6144  12 
iptable_nat            11524  1 
ip_nat                 21676  12 ipt_SAME,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ip_nat_tftp,ip_nat_sip,ip_nat_pptp,ip_nat_irc,ip_nat_h323,ip_nat_ftp,ip_nat_amanda,iptable_nat
ip_conntrack           57380  24 ipt_MASQUERADE,ip_nat_tftp,ip_nat_snmp_basic,ip_nat_sip,ip_nat_pptp,ip_nat_irc,ip_nat_h323,ip_nat_ftp,ip_nat_amanda,ip_conntrack_tftp,ip_conntrack_sip,ip_conntrack_pptp,ip_conntrack_netbios_ns,ip_conntrack_irc,ip_conntrack_h323,ip_conntrack_ftp,ip_conntrack_amanda,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,ip_nat
iptable_mangle          6656  1 
nfnetlink               9928  2 ip_nat,ip_conntrack
iptable_filter          6784  1 
ip_tables              24424  4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables               18440  47 ipt_IFWLOG,ipt_psd,xt_policy,xt_multiport,ipt_ULOG,ipt_TTL,ipt_ttl,ipt_TOS,ipt_tos,ipt_TCPMSS,ipt_set,ipt_SAME,ipt_REJECT,ipt_REDIRECT,ipt_recent,ipt_owner,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_iprange,ipt_hashlimit,ipt_ECN,ipt_ecn,ipt_DSCP,ipt_dscp,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,xt_tcpmss,xt_pkttype,xt_physdev,xt_NFQUEUE,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_helper,xt_dccp,xt_conntrack,xt_CONNMARK,xt_connmark,xt_CLASSIFY,xt_tcpudp,xt_state,iptable_nat,ip_tables
ide_cd                 42912  1 
binfmt_misc            14220  1 
hidp                   21632  2 
rfcomm                 43296  2 
l2cap                  29312  10 hidp,rfcomm
loop                   19472  0 
dm_mirror              22528  0 
dm_mod                 56784  1 dm_mirror
floppy                 66664  0 
cpufreq_ondemand       11280  0 
cpufreq_conservative    11400  0 
cpufreq_powersave       5760  0 
sis_agp                11268  1 
hci_usb                19220  3 
bluetooth              53124  10 hidp,rfcomm,l2cap,hci_usb
ehci_hcd               34440  0 
ohci_hcd               23300  0 
usbcore               129056  8 zd1201,usblp,usbmouse,usbhid,hci_usb,ehci_hcd,ohci_hcd
ext3                  133904  2 
jbd                    59560  1 ext3
sd_mod                 22784  3 
ide_generic             5248  0 [permanent]
sata_sis               11524  2 
libata                 67864  1 sata_sis
scsi_mod              140464  3 sg,sd_mod,libata

#ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:50:FC:F1:9A:F3  
          inet addr:192.168.1.110  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:558 (558.0 b)

#iwconfig
lo        no wireless extensions.

sit0      no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11b  ESSID:"Linux"  Nickname:"zd1201"
          Mode:Managed  Channel:1  Access Point: Invalid   
          Bit Rate:11 Mb/s   
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
I get some errors when I enter ifup wlan0:

Code:
#ifup wlan0
Given IPv4 address '192.168.1.110' is not globally usable
6to4 configuration is not valid
NETLINK: Error: File exists

Last edited by keratos; 06-10-2007 at 04:34 AM.
 
Old 06-10-2007, 05:05 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
1. make sure the vista laptop can connect to other networks.
2. make sure the mandriva box can connect to other networks.

6to4 configuration is not valid
... this is a problem with your ipv6 setup.

from: http://osdir.com/ml/network.ipv6.gen.../msg00005.html
Quote:
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?
 
Old 06-10-2007, 05:18 AM   #3
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
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!!

Last edited by keratos; 06-10-2007 at 05:19 AM.
 
Old 06-10-2007, 05:44 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://wiki.linux.net.nz/AdHoc

... 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?
 
Old 06-10-2007, 06:36 AM   #5
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Simon Bridge
http://wiki.linux.net.nz/AdHoc

... 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.

Simple.

Is there a way please?
 
Old 06-10-2007, 07:26 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Well of course there is.

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.
 
Old 06-10-2007, 02:04 PM   #7
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
thanks Simon.

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.

NEARLY THERE!

can you help Simon?

Last edited by keratos; 06-10-2007 at 02:56 PM.
 
Old 06-11-2007, 08:37 AM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by keratos
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.

http://www.yolinux.com/TUTORIALS/Lin...rkGateway.html

Code:
# 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
 
Old 06-11-2007, 03:34 PM   #9
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
Arghh!

Its broke.

I restarted, deleted all connections, and started again.

My Router is a DHCP server so I set wlan0 to get IP from DHCP.

This is what I get now:

Code:
[root@localhost Desktop]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:6C:F5:7D:D1  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::201:6cff:fef5:7dd1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:504 errors:0 dropped:0 overruns:0 frame:0
          TX packets:671 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:364302 (355.7 KiB)  TX bytes:95990 (93.7 KiB)
          Interrupt:217 Base address:0xe200 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:600 (600.0 b)  TX bytes:600 (600.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:50:FC:F1:9A:F3  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:558 (558.0 b)

[root@localhost Desktop]# iwconfig
lo        no wireless extensions.

sit0      no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11b  ESSID:"Mandriva"  Nickname:"zd1201"
          Mode:Ad-Hoc  Channel:1  Cell: 72:A1:5C:68:2E:B4   
          Bit Rate:11 Mb/s   
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[root@localhost Desktop]# ifup wlan0

Determining IP information for wlan0... failed; no link present.  Check cable?
GoD! this is so annoying. Why is it so difficult. ?

I have taken the laptop out of the equation.

I'm just trying to get my desktop PC NICs working.

As I said, one USB wireless dongle plugged in (wlan0) and wired NIC to router (eth0).

Now its really broke.

PLEASE someone help me.
 
Old 06-11-2007, 06:36 PM   #10
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Rep: Reputation: 40
Totally misunderstoood what you meant...

Last edited by DiBosco; 06-12-2007 at 02:39 AM.
 
Old 06-12-2007, 01:31 AM   #11
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
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.

I've downloaded the latest firmware from http://linux-lc100020.sourceforge.net and copied it into /lib/firmware.

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

Can anyone help me more?

Thanks.

Last edited by keratos; 06-12-2007 at 01:32 AM.
 
Old 06-12-2007, 06:29 AM   #12
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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.
 
Old 06-12-2007, 08:28 AM   #13
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by GlennsPref
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.
 
Old 06-12-2007, 08:50 PM   #14
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
"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?
 
Old 06-13-2007, 01:58 AM   #15
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
Hi Simon.

NO! I don't have a wireless router.

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.

arggh !
 
  


Reply

Tags
router, sharing, wireless



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
Duel boot vista+Mandriva azz131 Mandriva 5 05-07-2007 05:17 PM
Cingular 3G - Sierra Wireless 860 - Mandriva 2007.1 - How To Configure 3G on Mandriva wpennington Mandriva 0 04-27-2007 06:41 PM
Mandriva &Vista dual boot question ichimeno Linux - Newbie 2 03-24-2007 06:47 AM
Vista=smelly & Vista!=awesome dohpaz General 4 02-16-2007 09:22 PM
Wireless Management in Mandriva purelithium Linux - Wireless Networking 2 11-01-2005 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:54 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