LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-23-2003, 03:48 PM   #1
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Rep: Reputation: 30
laptop can access samba server via ethernet cable but not wireless?


I have a Medion laptop and an homebuilt AMD desktop PC. I have Redhat linux 9 on both the laptop and desktop pc and both of them dual boot with Windows XP. I have both machines connected to a Netgear MR314 wireless router which is connected to a cable modem. The laptop has an ethernet port as well as a wireless 802.11b pcmcia card. I am able to access the internet from both the laptop (via ethernet cable or wireless card) and the desktop pc (via ethernet cable to the router). If I am using an ethernet cable connection between the laptop and the router, I can access the samba shares on the desktop pc. If I connect the laptop to the router via wireless card, I cannot access the samba shares. I cant figure this out. I have shorewall installed on the samba server (desktop pc) because the lokkit iptables firewall that came with redhat did not have an option to allow smb connections. I thought that the network communication from the laptop to the samba server should appear identical to the samba server wether thru ethernet cable or wireless card. I cant figure out why one configuration is allowed to connect and the other refused. Any help will be appreciated. Thanks
 
Old 05-23-2003, 05:13 PM   #2
linuxmunnki
LQ Newbie
 
Registered: May 2003
Location: Colorado
Distribution: Red Hat Linux 9.0, Windows XP, Win2k
Posts: 5

Rep: Reputation: 0
Hey there,
check the file /etc/sysconfig/network-scripts/ifcfg-wlan0
if it doesn't exist, create it and write in
DEVICE=wlan0
USERCTL=yes
ONBOOT=no
BOOTPROTO=dhcp
chmod 777 it, to be sure
and then /etc/rc.d/init.d/pcmcia restart.
Linux can be an arsehole to get working right with wireless devices - it took me several days searching groups and sites until i found the right solution that allowed me to sambamount other machines and be mounted by them.
If this doesn't work check what other parameters you can provide to BOOTPROTO. The usual hack for wireless is to alias eth0 for wlan0 and then configure the GUI separately for web access,
please tell me if this helps
munnki
 
Old 05-23-2003, 05:34 PM   #3
xcon
Member
 
Registered: Jan 2002
Location: Ohio
Distribution: Slackware 9.1 (and some 9.0)
Posts: 181

Rep: Reputation: 30
i dunno if this applies, but in slackware 9 i had to entirely disable the ethernet card to get the wireless working... they both went to the same gateway, but it wanted to go through eth0 even though wlan0 was up and running and eth0's wire was disconnected, thus no traffic... it was either don't configure eth0 or just remove the card...

if it's an integrated card, either keep the module from loading or disable the adapter in BIOS (just like removing it)
 
Old 05-23-2003, 09:17 PM   #4
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Original Poster
Rep: Reputation: 30
I managed to get it running with the Windows XP laptop client. I am now able to connect to the Redhat SMB server in the desktop pc. It was an ip address conflict, with my router issuing the same address to the laptop as was the static address of the amd system. I adjusted the pool of addresses for the router dhcp to start at 192.168.1.5 and I can now access my samba shares and print to the printer on the amd machine If I am running Windows XP on the laptop. I still am left with the problem of not being able to print from the redhat laptop client to the printer on the amd machine running redhat 9. I can now access the samba shares using smbmount but cant get printing to work. Local printing (amd machine to the locally connected printer ) works. Remote printing keeps asking me for a password and username which I enter correctly but still cant print. Any ideas? It cant be a shorewall issue or a smb issue on the server as it works when Win 'XP is the client. Gotta be something wrong in my local laptop config.
 
Old 05-24-2003, 02:25 AM   #5
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Original Poster
Rep: Reputation: 30
I finally got the printing part up and running. For some reason, I couldnt get it to work via printconf. I tried localhost:631 and configured the printer that way and it just worked.

Thanks for your info and advice.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Wireless and Ethernet not working on Laptop lunar-blue Linux - Wireless Networking 8 08-03-2005 02:51 PM
Samba won't start on wireless laptop CPUguy387 Linux - Wireless Networking 10 02-21-2005 10:21 PM
Wireless Laptop to Wired ethernet via Linux PC (wired/wireless) sambartle Linux - Wireless Networking 0 01-30-2005 05:37 AM
Steps I need to take to get my laptop internet access via a wireless card? {-_-} SUSE / openSUSE 2 11-18-2004 07:01 PM
call for SAMBA GURUs for wireless samba access netguy2000 Linux - Wireless Networking 0 01-16-2004 07:45 AM

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

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