Page 1 of 8 123 ... LastLast
Results 1 to 15 of 118

Thread: Networking (LAN) Imac + linux box

  1. #1
    Join Date
    19th March 2004 - 11:00
    Bike
    BMW R65LS, part time R75 old fart rider
    Location
    Home!!!!
    Posts
    1,711

    Networking (LAN) Imac + linux box

    Ok, so I want to network two machines - a linux machine running Ubuntu, and an imac. I am using a LAN through ethernet and a router box. I have got each machine to ping the other, and I can see the linux box on the imac 'finder' (Network - linuxmusic - etc etc). But if I try and connect to find shares on the linux box, it starts thinking and goes no further (ie finder freezes, and I have to use force quit). When I try and go to network on the linux box, I get the following screenshots. I can log into the normal ones, but why do I have to log into casacaracol@linuxmusic, for instance? When I have to connect to xyz@123, it doesnt accept my passwords.

    Can I stop the linux box wanting passwords to access itself on the network, and would this solve my problem from the imac? The linux box has a big HD with music on it that we want to be able to play from the iMac, which has the speakers etc. The linux box is the free internet computer for the hostel.

    HELP!!!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot.jpg 
Views:	18 
Size:	50.1 KB 
ID:	23566   Click image for larger version. 

Name:	Screenshot-1.jpg 
Views:	15 
Size:	50.5 KB 
ID:	23567   Click image for larger version. 

Name:	Screenshot-2.jpg 
Views:	19 
Size:	50.0 KB 
ID:	23568  
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  2. #2
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    All I can think of is that you have to have sharing turned ON on your iMac, assume youre using SMB?, and when logging on from your LInux box, you enter the username and password of the account you want to access on your iMac.

    Not much help, but good luck!
    "If life gives you a shit sandwich..." someone please complete this expression

  3. #3
    Join Date
    19th March 2004 - 11:00
    Bike
    BMW R65LS, part time R75 old fart rider
    Location
    Home!!!!
    Posts
    1,711
    I have a few folders shared with SMB on the linux box... I can also use NFS, but samba appears to work. Perhaps I just dont know the correct passwords, though I have tried everything i have got. But I can get into the imac, but not xyz@imac. Ditto for 'linuxmusic'. This is the problem. If i click cancel, then I get nothing in the network window from the linux box....

    I have sharing and windows sharing enabled on the imac...

    I think the xyz@imac is for the user account, but those are the passwords that I have already used for the other windows (eg screenshot 3), and they dont work for things such as screenshot 1&2

    The alternative is to disable passwords for network access perhaps??
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  4. #4
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    Dont know mate, limbimtimwin will be along soon no doubt. Hes pretty wizzy on the whole LINUX networking thing.
    "If life gives you a shit sandwich..." someone please complete this expression

  5. #5
    Join Date
    30th September 2004 - 20:08
    Bike
    Tojo and nothing. Damnit.
    Location
    Brighton, UK
    Posts
    2,338
    Quote Originally Posted by Posh Tourer :P
    Can I stop the linux box wanting passwords to access itself on the network, and would this solve my problem from the imac?
    I am confused about your problem; you can't get to the shares from anywhere, correct?

    You created the shares by right-clicking on the folder and choosing 'sharing' or whatever ubuntu called it..?

  6. #6
    Join Date
    27th December 2005 - 21:57
    Bike
    97 Ducati 916
    Location
    Lower Hutt
    Posts
    1

    samba setup

    Hi.
    Yes you can setup the shares on your linux bot to be passwordless. If you've got kde installed, using konqueror right-click the on the directory you want & click the share option. There you can setup passwordless entry etc.
    Otherwise the easiest is probably to use webmin to setup the shares.
    Hope that helps.
    Simon.

  7. #7
    Join Date
    19th March 2004 - 11:00
    Bike
    BMW R65LS, part time R75 old fart rider
    Location
    Home!!!!
    Posts
    1,711
    Quote Originally Posted by limbimtimwim
    I am confused about your problem; you can't get to the shares from anywhere, correct?

    You created the shares by right-clicking on the folder and choosing 'sharing' or whatever ubuntu called it..?
    The problem is I cannot get the imac to play the music files on the linux box. I thought that this problem of passwords I got on the linux box might be something to do with it.... that and I know how to take screenshots on the linux box....

    I created the shares by going to preferences / shared folders. They are entire volumes/partitions rather than just folders.

    I only have to get 2 comps talking to each other, but they dont I cannot see individual files from either computer on the other. The linux wont let me see the imac at all, and the imac will let me see the other computer but when I ask finder to search for shares, it freezes, or at least doesnt respond for at least half an hour (got bored waiting after that and forced quit).

    Oh and on the mac, you can access the local files via network / imac local etc in finder. On the linux box it asks me for passwords as per the screenshots below if I try and see the linux box via network places on the linux equivalent of finder (konquerer?)
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  8. #8
    Join Date
    7th November 2004 - 11:00
    Bike
    Aquired by locals
    Location
    Groote Eylandt
    Posts
    6,606
    Never done much with linux, but it sounds like it is wanting to be difficult
    To every man upon this earth
    Death cometh sooner or late
    And how can a man die better
    Than facing fearful odds
    For the ashes of his fathers
    And the temples of his Gods

  9. #9
    Join Date
    19th March 2004 - 11:00
    Bike
    BMW R65LS, part time R75 old fart rider
    Location
    Home!!!!
    Posts
    1,711
    cant see konquerer, so I dunno....still have no idea why I have to log into both linuxmusic and casacaracol@linuxmusic...... and where I might be able to find the passwords for that. What is webmin?
    I need to be able to play the songs in realtime from the linux box on the imac. There isnt enough room to transfer them all....
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  10. #10
    Join Date
    30th September 2004 - 20:08
    Bike
    Tojo and nothing. Damnit.
    Location
    Brighton, UK
    Posts
    2,338
    Quote Originally Posted by Posh Tourer :P
    Oh and on the mac, you can access the local files via network / imac local etc in finder. On the linux box it asks me for passwords as per the screenshots below if I try and see the linux box via network places on the linux equivalent of finder (konquerer?)
    On the Linux end:

    Please try connecting and attach /var/log/samba/log.smbd

    There might also be a /var/log/samba/log.(machine_name) there, attach them too.

    And do
    $ smbclient -L localhost
    and paste in the output.

    EDIT: Just a thought, and the two computers on different subnets....?

  11. #11
    Join Date
    19th March 2004 - 11:00
    Bike
    BMW R65LS, part time R75 old fart rider
    Location
    Home!!!!
    Posts
    1,711
    casacaracol@linuxmusic:~$ $ smbclient -L localhost
    bash: $: command not found

    dunno about local subnets?

    1.33 is the imac. There was a log for 1.34 (linux) but it was 0 bytes

    Only just got on here as everyone is using it for the internet......
    Attached Files Attached Files
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  12. #12
    Join Date
    30th September 2004 - 20:08
    Bike
    Tojo and nothing. Damnit.
    Location
    Brighton, UK
    Posts
    2,338
    Quote Originally Posted by Posh Tourer :P
    casacaracol@linuxmusic:~$ $ smbclient -L localhost
    bash: $: command not found
    Don't put in the '$' :-) *
    dunno about local subnets?
    Paste in the output of of '$ ifconfig' from both machines. Mind you this isn't likely to be the issue :-)

    Those logs are strangely quiet, like I would have expected to see messages about your failed attempt at accessing it earlier. Is there a /var/log/samba/log.nmbd file?

    Is samba actually running?

    What is the output of '$ smbstatus' ? An empty table? Or stuff like 'sessionid.tdb not initialised
    /var/run/samba/connections.tdb not initialised'

    I've had my head stuck inside Debian for awhile now, which isn't that different from Ubuntu. And the person across next to me runs Ubuntu, so we can probably figure this out :-)

    EDIT: Have you read: http://help.ubuntu.com/starterguide/C/ch07.html ?

    * It's kinda a convention, you use '$' to say 'do this at a non-root-user shell' You say '#' for a root shell

  13. #13
    Join Date
    19th March 2004 - 11:00
    Bike
    BMW R65LS, part time R75 old fart rider
    Location
    Home!!!!
    Posts
    1,711
    casacaracol@linuxmusic:~$ smbclient -L localhost
    Password:
    session setup failed: NT_STATUS_LOGON_FAILURE
    casacaracol@linuxmusic:~$


    casacaracol@linuxmusic:~$ smbstatus

    Samba version 3.0.14a-Ubuntu
    PID Username Group Machine
    -------------------------------------------------------------------

    Service pid machine Connected at
    -------------------------------------------------------

    No locked files

    casacaracol@linuxmusic:~$

    samba is running, but perhaps filebrowser is stopping me before I get to use it??

    from the FAQ: From the Configuration drop-list select DHCP/Static IP address, then click OK. so which one is it?? I assume dynamic is ok because I am behind a router anyway...

    3.

    How do I add/edit/delete network users when using authentication?

    (here) could that be my issue??
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  14. #14
    Join Date
    30th September 2004 - 20:08
    Bike
    Tojo and nothing. Damnit.
    Location
    Brighton, UK
    Posts
    2,338
    Quote Originally Posted by Posh Tourer :P
    3.
    How do I add/edit/delete network users when using authentication?(here) could that be my issue??
    I can't get to the ubuntu site at the moment, but if have not created Samba users, then yeah, you will need too. Or make Samba use your main password file.

    You need to use the 'smbpasswd' program as the root user.

  15. #15
    Join Date
    19th March 2004 - 11:00
    Bike
    BMW R65LS, part time R75 old fart rider
    Location
    Home!!!!
    Posts
    1,711
    iMac:~ caracol$ smbpasswd -a
    When run by root:
    smbpasswd [options] [username]
    otherwise:
    smbpasswd [options]

    options:
    -L local mode (must be first option)
    -h print this usage message
    -s use stdin for password prompt
    -c smb.conf file Use the given path to the smb.conf file
    -D LEVEL debug level
    -r MACHINE remote machine
    -U USER remote username
    extra options when run by root or in local mode:
    -a add user
    -d disable user
    -e enable user
    -i interdomain trust account
    -m machine trust account
    -n set no password
    -w PASSWORD ldap admin password
    -x delete user
    -R ORDER name resolve order

    this is the output I get when I try and create samba users. We do now have progress, as I am able to get through the password boxes (see first post), and see the linux machine via network places on the linux machine. All it took was to set samba passwords for the accounts, which I have done for both machines, (but not for root on both machines). But, I am still not able to see the imac from the linux box. I can see the linux box from the imac as per first post.
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •