LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2006, 07:28 PM   #1
ultimatenoob
Member
 
Registered: May 2005
Location: Bellingham, WA
Distribution: Suse 10.2
Posts: 77

Rep: Reputation: 15
Quick (i hope) wireless question:


Okay, first things first, sorry this is a terribly asked question; frustration is running high right now. So I'm sitting next to a friend of mine right now (and have been for almost 2 hours!), trying desperately to share some files over wireless, but alas, his mac and my dual-boot ubantu / windows machine wont let it happen.

So far we have successfully pinged eachother several times, and my computer will recognize his network (both via iwlist and the GUI) but will not connect to it. I have connected to other wireless networks with ease before, but so far i have been unable to get onto either his computers ad-hoc network, or his house wireless network.

Can someone just tell me if it is possible to share files over wireless between a linux machine and a mac?? Any help is appreciated!

Thanks!

Last edited by ultimatenoob; 01-09-2006 at 07:38 PM.
 
Old 01-09-2006, 07:39 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I don't know much about Macs but I know that the OS X is based on one of the BSD operating systems. So you may find that you and the Mac owner may have NFS or Samba available. I don't know if Macs still use Appletalk. If they do you may be able to install an Appletalk stack on your Linux machine.

See if you have any files with "atalk" in their name as follows.

locate atalk

My SuSE 9.2 has a lot of files. They appear to be able to create an Appletalk network stack. A netatalk package appears to be in my apt4suse package cache. That suggests that Debian might have such a package. Ubuntu is a derivative of Debian. Here's what I've got on my system.

$ locate atalk
/etc/init.d/atalk
/etc/netatalk
/etc/netatalk/afpd.conf
/etc/netatalk/AppleVolumes.default
/etc/netatalk/AppleVolumes.system
/etc/netatalk/atalkd.conf
/etc/netatalk/netatalk.conf
/etc/netatalk/nls
/etc/netatalk/nls/maccode.437
/etc/netatalk/nls/maccode.850
/etc/netatalk/nls/maccode.iso8859-1
/etc/netatalk/nls/maccode.iso8859-1.adapted
/etc/netatalk/nls/maccode.koi8-r
/etc/netatalk/papd.conf
/etc/pam.d/netatalk
/usr/bin/add_netatalk_printer
/usr/bin/netatalk-config
/usr/bin/netatalkshorternamelinks.pl
/usr/include/linux/atalk.h
/usr/include/netatalk
/usr/include/netatalk/at.h
/usr/lib/netatalk
/usr/lib/netatalk/uams_clrtxt.so
/usr/lib/netatalk/uams_dhx.so
/usr/lib/netatalk/uams_dhx_pam.a
/usr/lib/netatalk/uams_dhx_pam.la
/usr/lib/netatalk/uams_dhx_pam.so
/usr/lib/netatalk/uams_dhx_passwd.a
/usr/lib/netatalk/uams_dhx_passwd.la
/usr/lib/netatalk/uams_dhx_passwd.so
/usr/lib/netatalk/uams_guest.a
/usr/lib/netatalk/uams_guest.la
/usr/lib/netatalk/uams_guest.so
/usr/lib/netatalk/uams_krb4.a
/usr/lib/netatalk/uams_krb4.la
/usr/lib/netatalk/uams_krb4.so
/usr/lib/netatalk/uams_pam.a
/usr/lib/netatalk/uams_pam.la
/usr/lib/netatalk/uams_pam.so
/usr/lib/netatalk/uams_passwd.a
/usr/lib/netatalk/uams_passwd.la
/usr/lib/netatalk/uams_passwd.so
/usr/lib/netatalk/uams_pgp.a
/usr/lib/netatalk/uams_pgp.la
/usr/lib/netatalk/uams_pgp.so
/usr/lib/netatalk/uams_randnum.a
/usr/lib/netatalk/uams_randnum.la
/usr/lib/netatalk/uams_randnum.so
/usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi/linux/atalk.ph
/usr/lib/samba/vfs/netatalk.so
/usr/sbin/atalkd
/usr/sbin/rcatalk
/usr/share/doc/packages/netatalk
/usr/share/doc/packages/netatalk/ChangeLog
/usr/share/doc/packages/netatalk/CONTRIBUTORS
/usr/share/doc/packages/netatalk/COPYING
/usr/share/doc/packages/netatalk/COPYRIGHT
/usr/share/doc/packages/netatalk/example-configs
/usr/share/doc/packages/netatalk/example-configs/afpd.conf
/usr/share/doc/packages/netatalk/example-configs/AppleVolumes.default
/usr/share/doc/packages/netatalk/example-configs/AppleVolumes.system
/usr/share/doc/packages/netatalk/example-configs/atalkd.conf
/usr/share/doc/packages/netatalk/example-configs/netatalk.conf
/usr/share/doc/packages/netatalk/example-configs/papd.conf
/usr/share/doc/packages/netatalk/FAQ
/usr/share/doc/packages/netatalk/netatalk-latinize.pl
/usr/share/doc/packages/netatalk/README
/usr/share/doc/packages/netatalk/README.hidden-items
/usr/share/doc/packages/netatalk/README.macusers
/usr/share/doc/packages/netatalk/README.platforms
/usr/share/doc/packages/netatalk/README.veto
/usr/share/doc/packages/netatalk/services.atalk
/usr/share/doc/packages/netatalk/TODO
/usr/share/man/man1/netatalk-config.1.gz
/usr/share/man/man3/atalk_aton.3.gz
/usr/share/man/man4/atalk.4.gz
/usr/share/man/man5/atalkd.conf.5.gz
/usr/share/man/man5/netatalk.conf.5.gz
/usr/share/man/man8/atalkd.8.gz
/usr/share/netatalk
/usr/share/netatalk/pagecount.ps
/usr/src/linux-2.6.8-24.19/include/linux/atalk.h
/usr/src/linux-2.6.8-24.19/net/appletalk/atalk_proc.c
/usr/src/linux-2.6.8-24.19/net/appletalk/sysctl_net_atalk.c
/var/adm/fillup-templates/rc.config.netatalk.del
/var/cache/apt/archives/netatalk_1.6.4-54.1_i586.rpm
$

Last edited by stress_junkie; 01-09-2006 at 07:43 PM.
 
Old 01-09-2006, 08:05 PM   #3
ultimatenoob
Member
 
Registered: May 2005
Location: Bellingham, WA
Distribution: Suse 10.2
Posts: 77

Original Poster
Rep: Reputation: 15
Thanks Stress Junkie.. i'm gonna reboot in linux and see if i can find anything. I'm still at a loss as to why i cannot connect to his linksys wireless router, because if i could, then i wouldnt need to reboot (okay, stating the obvious, sorry) but whatever.. i dont really have time to tackle that problem.

------------------------------------------

edit:

Okay, so i honestly have no idea what i did differently, but i am now connected via the linksys network that i metioned i was unable to get on. All i really did was restart in ubuntu, realize that something was wrong with ndiswrapper, removed and reinstalled the drivers for my wireless card, wrote the modprobe part, and then... nothing. My computer still was not recognizing my wireless card. It did not recognize it until i did a "ifup wlan0 essid linksys" at which point it suddenly came to life and connected to the internet.

Either way, now I'm trying to connect to my friends network on his apple, and this is the response i got upon trying...

Code:
root@ntu:/home/zax/downloads/used# ifup wlan0 essid pj
wlanctl-ng: No such device
Failed to enable the device, exitcode= 1 .
run-parts: /etc/network/if-pre-up.d/linux-wlan-ng-pre-up exited with return code 1
There is already a pid file /var/run/dhclient.wlan0.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:90:4b:1d:e7:51
Sending on   LPF/wlan0/00:90:4b:1d:e7:51
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 192.168.1.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.104 -- renewal in 32473 seconds.
postconf: fatal: open /etc/postfix/main.cf: No such file or directory
cp: `/etc/resolv.conf' and `/etc/resolv.conf' are the same file
run-parts: /etc/network/if-up.d/postfix exited with return code 1
Ignoring unknown interface essid=essid.
Ignoring unknown interface pj=pj.
this is stuff output ive never seen before from using ifup / ifdown. Before, on Fedora, it would go up, or it would go down, but it would not give any output. Now every time i do any ifup/down commands, it spits information at me that makes no sense -- im still a noob!

Last edited by ultimatenoob; 01-09-2006 at 08:32 PM.
 
Old 01-09-2006, 09:14 PM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
of course you can! if you can ping the mac then you are conected to it turn on

"System Preferances" -> "Sharing" -> "remote login"

this will enable sshd on the mac so you can log in and get a shell with ssh or copy files with scp (this is what I use most of the time)

scp <local file> <username>@<macs ip address>:<file you want to make on the mac>

alternatively turn on

"System Preferances" -> "Sharing" -> "Ftp access"

then just connect to

ftp://<username>@<macs ip address>

Last edited by johnson_steve; 01-09-2006 at 09:15 PM.
 
  


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
Quick Question: Which driver file to use for Dell TrueMobile 1350 Wireless card? robert2513 Linux - Wireless Networking 3 12-24-2005 03:34 PM
quick question - wireless cards greenmuzz Linux - Wireless Networking 1 09-20-2005 10:01 AM
quick wireless networking question PorFavor Linux - Wireless Networking 2 09-17-2005 09:51 PM
Quick (I hope) mdkkdm question stunter Mandriva 0 06-07-2004 11:49 PM
Slackware peeps: Quick wireless question Wiggy Linux - Wireless Networking 4 04-14-2004 05:54 AM


All times are GMT -5. The time now is 04: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration