Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Continuing problem with local network

  1. #1
    Join Date
    Mar 2008
    Beans
    47

    Continuing problem with local network

    I have been facing a networking problem since I installed Ubuntu 12.04.
    I have 2 laptops, wired network between them works with XP and with Ubuntu 10.44 but not with Ubuntu 12.04. The computers are a Compaq Presario 2100 and an Acer Aspire 5315.

    The networking specifies DHCP which is a handover from XP and Ubuntu 10.44 I have spent many hours going thru Samba help and manual. I have run testparm on both and I see very little difference between the results, but 12.04 will not network from either system. The testparm results are here:

    Testparm from Acer Aspire running Ubuntu 12.04:

    jim@acer-u12:~$ testparm
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    Processing section "[printers]"
    Processing section "[print$]"
    Processing section "[File System]"
    WARNING: The security=share option is deprecated
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions

    [global]
    workgroup = MYHOME
    server string = %h server (Samba, Ubuntu)
    security = SHARE
    encrypt passwords = No
    map to guest = Bad User
    obey pam restrictions = Yes
    guest account = jim
    pam password change = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    unix password sync = Yes
    syslog = 0
    log file = /var/log/samba/log.%m
    max log size = 1000
    dns proxy = No
    usershare allow guests = Yes
    panic action = /usr/share/samba/panic-action %d
    idmap config * : backend = tdb
    guest ok = Yes

    [printers]
    comment = All Printers
    path = /var/spool/samba
    create mask = 0700
    printable = Yes
    print ok = Yes
    browseable = No

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    read only = No

    [File System]
    path = /
    read only = No
    jim@acer-u12:~$


    testparm from Compaq Presario 2100 running Ubuntu 10.44:

    jim@laptop-u-10:~$ testparm
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
    Processing section "[printers]"
    Processing section "[print$]"
    Processing section "[File System]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions

    [global]
    workgroup = MYHOME
    server string = %h server (Samba, Ubuntu)
    map to guest = Bad User
    obey pam restrictions = Yes
    pam password change = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    unix password sync = Yes
    syslog = 0
    log file = /var/log/samba/log.%m
    max log size = 1000
    dns proxy = No
    usershare allow guests = Yes
    panic action = /usr/share/samba/panic-action %d

    [printers]
    comment = All Printers
    path = /var/spool/samba
    create mask = 0700
    printable = Yes
    browseable = No
    browsable = No

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers

    [File System]
    path = /
    read only = No
    guest ok = Yes
    jim@laptop-u-10:~$

    Can anyone see anything to help me get these computer to talk to each other?


    Thanks

  2. #2
    Join Date
    Dec 2009
    Beans
    6,772

    Re: Continuing problem with local network

    On the Acer go into /etc/samba/smb.conf and change this:
    security = SHARE
    encrypt passwords = No
    To this:
    security = USER
    encrypt passwords = Yes
    Then restart samba:
    Code:
    sudo service smbd restart
    When you restart samba the network has a minor tantrum so wait a few minutes before trying things again.

    BTW, creating a guest share of your entire linux filesystem is insane but that is entirely up to you.

  3. #3
    Join Date
    Mar 2008
    Beans
    47

    Re: Continuing problem with local network

    Thanks for the help.

    I tried what you said and I am perplexed. I edited /etc/samba/smb.conf using gedit, I saved the file and ran restart. After a few minutes I ran testparm and the entries for security and encrypt passwords had BOTH disappeared. I tried again and it still gives the same result. I have gone back and looked at /etc/samba/smb.conf and my (your) changes are there. Further, when I try to access network it just runs for a while and then presents an error message.

    How can that be?

    Jim

  4. #4
    Join Date
    Dec 2009
    Beans
    6,772

    Re: Continuing problem with local network

    After a few minutes I ran testparm and the entries for security and encrypt passwords had BOTH disappeared
    Actually, that's normal and as it should be,

    Smb.conf is a list of additions and overrides to the default settings of samba. When you run testparm you are looking at the affect smb.conf has on the defaults. As it turns out "security = USER" and "encrypt passwords = Yes" are the defaults so testparm should return nothing for those parameters.

    Anyway, what error message does it display?

    You might want to post the output of the following command from whatever machine you happen to be on at the moment:
    Code:
    smbtree

  5. #5
    Join Date
    Mar 2008
    Beans
    47

    Re: Continuing problem with local network

    I am currently on the laptop (Compaq) and it is quick and easy to past the result from smbtree.

    The output from smbtree raises new issues so instead of confusing you, phonecomputer is an old HP desktop running xp with printer and a magicjack phone installed.

    Newgames is another old HP desktop running xp with my wife's games on it. It is on a wireless connection thru the same DSL modem where all the others are on ethernet. Ill get you the output from the Acer shortly. I have to use a zip drive.


    Enter jim's password:
    MYHOME
    \\PHONECOMPUTER New HP
    \\PHONECOMPUTER\Microsof Microsoft XPS Document Writer
    \\PHONECOMPUTER\C$ Default share
    \\PHONECOMPUTER\ADMIN$ Remote Admin
    \\PHONECOMPUTER\Desktop
    \\PHONECOMPUTER\User
    \\PHONECOMPUTER\Downloads
    \\PHONECOMPUTER\HPPhotos HP Photosmart C4200 series
    \\PHONECOMPUTER\HPDeskJe HP DeskJet 340 (Monochrome)
    \\PHONECOMPUTER\C
    \\PHONECOMPUTER\All Users
    \\PHONECOMPUTER\print$ Printer Drivers
    \\PHONECOMPUTER\SharedDocs
    \\PHONECOMPUTER\IPC$ Remote IPC
    \\PHONECOMPUTER\APRS
    \\PHONECOMPUTER\HPDeskJe.2 HP DeskJet 340
    \\PHONECOMPUTER\Administrator
    \\PHONECOMPUTER\Documents and Settings
    \\NEWGAMES New Games
    \\NEWGAMES\C$ Default share
    \\NEWGAMES\ADMIN$ Remote Admin
    \\NEWGAMES\Favorites
    \\NEWGAMES\Desktop
    \\NEWGAMES\OS (C)
    \\NEWGAMES\Mom
    \\NEWGAMES\Program Files
    \\NEWGAMES\SharedDocs
    \\NEWGAMES\IPC$ Remote IPC
    \\NEWGAMES\My Documents
    \\NEWGAMES\Documents and Settings
    \\LAPTOP-U-10 laptop-u-10 server (Samba, Ubuntu)
    \\LAPTOP-U-10\IPC$ IPC Service (laptop-u-10 server (Samba, Ubuntu))
    \\LAPTOP-U-10\File System
    \\LAPTOP-U-10\print$ Printer Drivers
    \\ACER-X ACER-X
    cli_start_connection: failed to connect to ACER-X<20> (0.0.0.0). Error NT_STATUS_BAD_NETWORK_NAME
    \\ACER-U12 acer-u12 server (Samba, Ubuntu)
    \\ACER-U12\print$ Printer Drivers
    \\ACER-U12\File System
    \\ACER-U12\IPC$ IPC Service (acer-u12 server (Samba, Ubuntu))
    jim@laptop-u-10:~$

  6. #6
    Join Date
    Dec 2009
    Beans
    6,772

    Re: Continuing problem with local network

    The only problem I see is ACER-X. What OS is that one running?

  7. #7
    Join Date
    Mar 2008
    Beans
    47

    Re: Continuing problem with local network

    smbtree from the acer:

    Enter jim's password:
    MYHOME
    \\PHONECOMPUTER New HP
    \\NEWGAMES New Games
    \\LAPTOP-U-10 laptop-u-10 server (Samba, Ubuntu)
    \\ACER-U12 acer-u12 server (Samba, Ubuntu)
    \\ACER-U12\print$ Printer Drivers
    \\ACER-U12\File System
    \\ACER-U12\IPC$ IPC Service (acer-u12 server (Samba, Ubuntu))
    jim@acer-u12:~$


    ************************************************** ****************
    The error message from trying to browse the network:

    There is a box about 6 inches by 2 inches

    Bold print says "Could not display "network:///".
    Error Bus error org.freedesktop.DBus.Error.NoReplyid not receive a reply

    Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

    Please select another viewer and try again.

    That's all I can find out for now. Thanks for the continuing support.

  8. #8
    Join Date
    Mar 2008
    Beans
    47

    Re: Continuing problem with local network

    Acer-X is the Acer when it is running XP. In the case we are looking at it is running Ubuntu 12 therefore Acer-X is not here. I have not run XP on it for a couple of hours.

  9. #9
    Join Date
    Dec 2009
    Beans
    6,772

    Re: Continuing problem with local network

    "Could not display "network:///".
    On whatever machine you got that error message install the following packages:
    Code:
    sudo apt-get install gvfs-backends
    Code:
    sudo apt-get install gvfs-fuse
    And just for good measure make sure you are a member of the fuse group:
    Code:
    sudo gpasswd -a your-user-name fuse
    Logout ( not reboot ) and login again for the group membership to take affect and try it again.

  10. #10
    Join Date
    Mar 2008
    Beans
    47

    Re: Continuing problem with local network

    I got the same error message as before. It took a lot longer to show the error. I have copied the exchange where I tried to do what you said. If I made a mistake, let me know.

    This network situation with Ubuntu 12.04 is really tough. I appreiate your help.

    jim@acer-u12:~$ sudo apt-get install gvfs-backends
    [sudo] password for jim:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    gvfs-backends is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 265 not upgraded.
    jim@acer-u12:~$ sudo apt-get install gvfs-fuse
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    gvfs-fuse is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 265 not upgraded.
    jim@acer-u12:~$ sudo gpasswd -a jim fuse
    Adding user jim to group fuse
    jim@acer-u12:~$

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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