Page 2 of 8 FirstFirst 1234 ... LastLast
Results 16 to 30 of 118

Thread: Networking (LAN) Imac + linux box

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

    After restarting the linux box after creating a samba user on the mac, I now get teh following screenshots in order...

    However, while looking at the imac on the linux box, the imac does not recognise the linux box. when I stop accessing the imac from the linux (on filebrowser), I can see the linux box on the imac.

    BUT.... I still cant see the shares from the linux box, on the imac. It still does as per first post. I have tried to set up all the samba users as no password users. Perhaps the linux box still wants passwords for filesharing and network access? and if so, how can I stop it doing that (without using Konquerer - default system on Ubuntu is GNOME). When I installed ubuntu, it told me I could not have a null password on the account, otherwise that is what I would have tried.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot.jpg 
Views:	8 
Size:	249.6 KB 
ID:	23668   Click image for larger version. 

Name:	Screenshot-1.jpg 
Views:	4 
Size:	238.8 KB 
ID:	23669  
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  2. #17
    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
    However, while looking at the imac on the linux box, the imac does not recognise the linux box. when I stop accessing the imac from the linux (on filebrowser), I can see the linux box on the imac.
    I don't quite understand what you mean, but that sounds weird. Really weird. Can you please paste in the output of ifconfig? I am interested.
    BUT.... I still cant see the shares from the linux box, on the imac. It still does as per first post. I have tried to set up all the samba users as no password users.
    I am confused. You can't see the shares you are exporting from the linux machine on the imac?

  3. #18
    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 don't quite understand what you mean, but that sounds weird. Really weird. Can you please paste in the output of ifconfig? I am interested.I am confused. You can't see the shares you are exporting from the linux machine on the imac?
    Ok I will double check that first point. Perhaps both machines are trying to be servers?? Is that a problem?? As it stands, I can see files from the imac on the linux box, but not vice versa. I do have to enter some passwords to get to see the imac files on the linux box, but I never get to that point on the imac. Perhaps this is the problem.

    You want ifconfig from the linux machine?? what is the path? I have no idea where things are on linux/mac - the only one I used to know well(ish) was Amiga.......

    second, yes that is correct. I click connect (to see shares on the linux machine) in finder on the Mac and it gets stuck. I have to force quit on finder.
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  4. #19
    Join Date
    30th September 2004 - 20:08
    Bike
    Tojo and nothing. Damnit.
    Location
    Brighton, UK
    Posts
    2,338
    Quote Originally Posted by Posh Tourer
    Ok I will double check that first point. Perhaps both machines are trying to be servers?? Is that a problem?? As it stands, I can see files from the imac on the linux box, but not vice versa. I do have to enter some passwords to get to see the imac files on the linux box, but I never get to that point on the imac. Perhaps this is the problem.
    Nah, samba the 'server' actually has nothing to do with samba the 'client', you don't need samba the 'server' to be a client to the iMac.
    You want ifconfig from the linux machine?? what is the path? I have no idea where things are on linux/mac - the only one I used to know well(ish) was Amiga.......
    Ahh, the Amiga. '/sbin/ifconfig' It should be in the same place on the iMac, but I am not sure.
    second, yes that is correct. I click connect (to see shares on the linux machine) in finder on the Mac and it gets stuck. I have to force quit on finder.
    If you do 'smbclient -L localhost' now that you have created the samba users on the linux box, following all the instructions from http://help.ubuntu.com/starterguide/...t-samba-server do you get a list of shares that you have created now?

    I wouldn't trust a stupid GUI to setup the shares properly, read the doco instead and hack the /etc/samba/smb.conf as it suggests.

  5. #20
    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
    If you do 'smbclient -L localhost' now that you have created the samba users on the linux box, following all the instructions from http://help.ubuntu.com/starterguide/...t-samba-server do you get a list of shares that you have created now?

    I wouldn't trust a stupid GUI to setup the shares properly, read the doco instead and hack the /etc/samba/smb.conf as it suggests.
    Yeah that works fine on the Imac. will check the linux box when the customers stop using it.

    Sharename Type Comment
    --------- ---- -------
    IPC$ IPC IPC Service (iMac)
    ADMIN$ IPC IPC Service (iMac)
    deskjet 3500 Printer hp deskjet 3500
    Stylus C46 Printer EPSON Stylus C44UX - CUPS+Gimp-Print v4.2.7
    caracol Disk User Home Directories
    Domain=[IMAC] OS=[Unix] Server=[Samba 3.0.10]

    Server Comment
    --------- -------

    Workgroup Master
    --------- -------
    WORKGROUP

    Cant find /samba/ or smb.conf on the imac - cant seem to find a decent search tool, or even if finder is hiding files from me....

    Not that that matters hugely - we only need one way traffic.... The linux box has all the important bits and I need to access them on the imac. Vice versa is irrelevant, and it already works that way anyway....
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  6. #21
    Join Date
    19th March 2004 - 11:00
    Bike
    BMW R65LS, part time R75 old fart rider
    Location
    Home!!!!
    Posts
    1,711
    Sorry I didnt notice you said output - I was trying to find the file itself. Anyways.....
    Ifconfig output from the linux box. The local IP addresses change a bit as sometimes the router refuses to connect to the net and we unplug and replug it (not my idea...).

    eth0 Link encap:Ethernet HWaddr 00:A0:C5:86:85:8A
    inet addr:192.168.1.36 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::2a0:c5ff:fe86:858a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:62947 errors:0 dropped:0 overruns:0 frame:0
    TX packets:61373 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:54885228 (52.3 MiB) TX bytes:11753483 (11.2 MiB)
    Interrupt:16 Base address:0xcc00

    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:257488 errors:0 dropped:0 overruns:0 frame:0
    TX packets:257488 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:21717258 (20.7 MiB) TX bytes:21717258 (20.7 MiB)



    The smbclient -L works fine on the linux box too, very similar to the imac, plus a few shares I set up with the GUI from System / Admin / Shared folders

    This is ifconfig from the imac

    lo0: flags=8049 mtu 16384
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
    gif0: flags=8010 mtu 1280
    stf0: flags=0<> mtu 1280
    en0: flags=8863 mtu 1500
    inet6 fe80::230:65ff:febe:e8b4%en0 prefixlen 64 scopeid 0x4
    inet 192.168.1.33 netmask 0xffffff00 broadcast 192.168.1.255
    ether 00:30:65:be:e8:b4
    media: autoselect (100baseTX ) status: active
    supported media: none autoselect 10baseT/UTP 10baseT/UTP 10baseT/UTP 100baseTX 100baseTX 100baseTX
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

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

    iMac:~ caracol$ smbclient //imac/caracol
    Password:
    Domain=[IMAC] OS=[Unix] Server=[Samba 3.0.10]
    smb: \>

    casacaracol@linuxmusic:~$ smbclient //linuxmusic/casacaracol
    Password:
    Domain=[LINUXMUSIC] OS=[Unix] Server=[Samba 3.0.14a-Ubuntu]
    smb: \>

    and this:
    iMac:~ caracol$ nmblookup -M workgroup
    querying workgroup on 192.168.1.255
    192.168.1.36 workgroup<1d>

    I have been trying to work through this and I cant figure out what numbers 4-6 mean and how to work them

    Also I cannot log into remote computers (trying as above) because it wont accept my passwords.

    However, filebrowser on Ubuntu now works fine, with full functionality, after I saved all the passwords in the keyring (see below)
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot.jpg 
Views:	3 
Size:	226.9 KB 
ID:	23865  
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  8. #23
    Join Date
    19th March 2004 - 11:00
    Bike
    BMW R65LS, part time R75 old fart rider
    Location
    Home!!!!
    Posts
    1,711
    Anyone know where I might find samba and smb.conf on an imac?? I know they are there because the samba commands work, but I cant find the config file to edit it......

    Maarten
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  9. #24
    Join Date
    20th November 2002 - 11:00
    Bike
    SW-125R(F4-TF125), ZXRD400, RD250LC
    Location
    Wellington, New Zealand,
    Posts
    5,963
    Blog Entries
    36
    It should be the same place as on Linux. The folder will be hidden though. Use 'Go' - 'Go to folder...' from the Finder to type the path or your shell/terminal.

    Someone smarter will be along soon.

  10. #25
    Join Date
    16th July 2003 - 05:23
    Bike
    XT660Z
    Location
    Sg & Chch
    Posts
    154
    It's in /etc

  11. #26
    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 Skunk
    It should be the same place as on Linux. The folder will be hidden though. Use 'Go' - 'Go to folder...' from the Finder to type the path or your shell/terminal.

    Someone smarter will be along soon.

    Great stuff - found it thanks..... Is there any way to unhide all that stuff temporarily? Oh and make it writeable? Or do I have to log in as admin?

    here is part of smb.conf from the imac:

    [global]
    guest account = unknown
    encrypt passwords = yes
    auth methods = guest opendirectory
    passdb backend = opendirectorysam guest
    printer admin = @admin, @staff
    server string = iMac
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  12. #27
    Join Date
    16th July 2003 - 05:23
    Bike
    XT660Z
    Location
    Sg & Chch
    Posts
    154
    If you use terminal it's all visible. I think you need to be root to write to it. This is the listing on my machine.

    -rw-r--r-- 1 root daemon 1942 Sep 1 21:42 smb.conf

    I think that means there must be a front end to this

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

    Here is my smb.conf from the linux box. Why the hell wont it connect to it from the imac????
    Attached Files Attached Files
    Queiro voya todo Europa con mi moto.... pero no tengo suficiente tiempo o dinero.....

  14. #29
    Join Date
    16th July 2003 - 05:23
    Bike
    XT660Z
    Location
    Sg & Chch
    Posts
    154
    I have a linux box that I will be collecting this weekend so if I get a chance I'll try and network it and (if successful) let you know. I do have a good book that covers networking linux and mac but it's with the linux box.

  15. #30
    Join Date
    30th September 2004 - 20:08
    Bike
    Tojo and nothing. Damnit.
    Location
    Brighton, UK
    Posts
    2,338
    Quote Originally Posted by bgd
    If you use terminal it's all visible. I think you need to be root to write to it. This is the listing on my machine.
    -rw-r--r-- 1 root daemon 1942 Sep 1 21:42 smb.conf
    I think that means there must be a front end to this
    Yeah, there is. On the mac I wouldn't touch it, Apple should have whatever GUI stuff they are using sorted. The moment you use the OSX GUI samba config tool it'll probably rewrite the file anyway. But comparing it to the ubuntu smb.conf might be useful.

    If you do "$ smbclient //linuxmusic/casacaracol" on the iMac, what happens?

    Also, I noticed the smb.conf from the ubuntu box said 'workgroup = workgroup' but in the previous output from smbclient it was saying the domain (RE: workgroup) was linuxmusic. And the iMac was in the iMac domain.

    It shouldn't make a difference, but perhaps if both machines were in the same workgroup?

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
  •