[ubuntu-uk] mount and fstab query

2010-07-15 Thread Bob Giles

Hi guys,

I always work on the theory that most problems are caused by the lowest 
common denominator  Me! However, this time I am not so sure.


There is probably a simple answer to my query but so far it has eluded 
me. I have added a line to /etc/fstab which originally mounted a couple 
of shares on my Netgear Duo NAS at bootup. It worked fine for a couple 
of days and has now stopped working. However, if I run sudo mount -a in 
terminal the shares mount as expected.


It may help solve this if I outline the background to this.

I am running 10.04 32bit. I have always been unable to access images 
which I have stored on the NAS in shared folders from programs such as 
Picasa, Gwenview or Digikam. I guess that I am not alone with that 
problem. After a lot of googling I found a 'solution' that was 
originally published in respect of version 7.10. I will summarise the 
'solution'.


1. Install smbfs
2. Create a folder inside /media. In my case /media/NASmedia
3. Create a credentials file in /root. (.cifscredentials) It contains 
passwords and is protected by the root account.
4. Edit .cifscredentials to contain username-USERNAME and 
password=PASSWORD. Save and close the file.

5. Edit /etc/fstab and add the following line at the end of the file:

//192.168.1.15/SHARENAME /media/Storage cifs 
auto,iocharset=utf8,uid=USER,gid=users,credentials=/root/.cifscredentials,file_mode=0775,dir_mode=0775
 0 0

NB. 192.168.1.15 is the IP address of my NAS
   SHARENAME is the share name to mount.
   USER is my Ubuntu username.

The file_mode=0775,dir_mode=0775 part sets the mounted directory as 
read/write for all users so long as the SMB username you set in 
.cifscredentials has read/write access.


Once saved, the system would display a drive icon for the mounted share 
and it was accessible to all programs after running sudo mount -a or 
upon reboot.


Now it only works if I run sudo mount -a after bootup.

Any ideas?

TIA

Bob Giles

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Lost internet usage in Ubuntu 9.04

2010-07-15 Thread Colin Law
On 13 July 2010 23:22, David King linux...@avoura.com wrote:
 In my Ubuntu 9.04 installation, just a few days ago, I lost my usage of
 the internet. I still had internet access. Firstly though, there was a
 problem with the router, so I tried a friend's router (both Netgear
 DG834) and the friend's one worked.

 But in Ubuntu, I could not access any web pages or email. Skype works.

What happens when you try to access a web page?

Check you have not got your browser set to Work Offline, this is in
the file menu in Firefox.

Does it work for another user on the PC?  If you have not other user
add one using System, Administration, Users and Groups.  A second user
is often useful for testing.

Colin


 I tried using my netbook and that could access web pages okay.

 So then I booted my main PC into the old installation that I kept there
 of Ubuntu 8.04, which I am using now. And in this the internet works
 just fine, I can access websites and download and send email.

 But in Ubuntu 9.04, it seems like something is blocking my access. I do
 not recall installing anything new, although something may have been
 updated recently.

 What is the likely cause of the Internet being blocked for websites and
 email (but not Skype)?


 David King

 --
 ubuntu-uk@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
 https://wiki.ubuntu.com/UKTeam/


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] mount and fstab query

2010-07-15 Thread Alan Lord (News)
On 15/07/10 07:36, Bob Giles wrote:
 Hi guys,

 I always work on the theory that most problems are caused by the lowest
 common denominator  Me! However, this time I am not so sure.

Any errors reported in, for example, /var/log/syslog or /var/log/samba/...?

My first thought was a timing issue, i.e. the cifs kernel module isn't 
loading quickly enough. I'm not sure if this is the right avenue at all 
but one I would try and check.

Have you changed anything (updated s/w) on either system recently? For 
example I recently upgraded my home server to 10.04 and a change to the 
samba stack stopped my Wife's WindowsXP VM (just for iTunes) working, 
but didn't affect anything else. It only required a minor change 
(forcing Samba to be a WINS server) but just to illustrate a point.

There are few pointers here that might help too: 
http://www.justlinux.com/nhf/Filesystems/Mounting_smbfs_Shares_Permanently.html

HTH

Al

-- 
The Open Learning Centre
http://www.theopenlearningcentre.com


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] mount and fstab query

2010-07-15 Thread Tyler J. Wagner
On Thursday 15 July 2010 07:36:24 Bob Giles wrote:
 There is probably a simple answer to my query but so far it has eluded
 me. I have added a line to /etc/fstab which originally mounted a couple
 of shares on my Netgear Duo NAS at bootup. It worked fine for a couple
 of days and has now stopped working. However, if I run sudo mount -a in
 terminal the shares mount as expected.

Is networking available at boot-time? Or only after you login? Does mountall 
run before networking starts? One difference since Ubuntu 7.10 is the addition 
of network manager and when networking starts (on bootup versus on login).

The easiest solution is to script a sudo mount /media/Storage as part of 
your login.

Regards,
Tyler

-- 
If one would give me six lines written by the hand of the most honest
man, I would find something in them to have him hanged.
  -- Armand Jean du Plessis, Cardinal Richelieu

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] mount and fstab query

2010-07-15 Thread ByteSoup

On 15/07/10 07:36, Bob Giles wrote:


Now it only works if I run sudo mount -a after bootup.

Any ideas?

TIA

Bob Giles


Hi Bob,

I dont think my problem is similar to yours but I made a post on the 
Ubuntu forums a while back using Xubuntu:


http://ubuntuforums.org/showthread.php?t=915939

It might help you

-Mark
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Fwd: Need help getting an Ubuntu Stack Exchange created through promotion

2010-07-15 Thread Alan Pope
See the mail below..

-- Forwarded message --
From: Evan Dandrea e...@ubuntu.com
Date: 15 July 2010 11:12
Subject: Need help getting an Ubuntu Stack Exchange created through promotion
To: loco-conta...@lists.ubuntu.com


Hi there!

We're trying to get the good people at Stack Exchange to create a
community Ubuntu users and developers question and answer site built
on their platform and hosted for free by them (with all the content
being CC licensed).  As part of the proposal process we need to get
people to visit the following page and click on the Commit! button,
signalling that this is a website they would like to use, should it be
created:

http://area51.stackexchange.com/proposals/7716/ubuntu?referrer=qQssWsN94hKB49QQOgt7xA2

If you're curious as to what this will look like once accepted, then
there are already a few sites in public beta that you can explore:
http://webapps.stackexchange.com/
http://gaming.stackexchange.com/

Thanks to some really lovely people in the community, we've already
had coverage on Ubuntu Forums
http://ubuntuforums.org/showthread.php?t=1529644, the Design Team
blog 
http://design.canonical.com/2010/07/vote-now-for-a-more-supportive-future/,
and OMG! Ubuntu!
http://www.omgubuntu.co.uk/2010/07/vote-now-for-awesome-new-ubuntu-help.html.
 But as I explain in my blog post
http://evand.wordpress.com/2010/07/15/nearly-there/, we need to
reach out further into the community and let the boots-on-the-ground
Ubuntu users know what we're all trying to do, and how they can help
be a part of it by going to the proposal website and clicking on the
Commit! button.

This is where you come in. :)  If this project excites you as much as
it does for me, wont you please tell your LoCo teams about it.  Feel
free to use your own referral link (Stack Exchange has a spectacularly
fun reward / badges system) that you can generate by signing up and
then clicking on Share This on the proposal page.  Lets work
together to make this something truly spectacular that brings even
more Ubuntu users into the fold and gives them a means of getting
really high quality responses to their questions and continuous
encouragement to help others.

Thanks for your time.

--
loco-contacts mailing list
loco-conta...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/loco-contacts

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] ubuntu-uk Digest, Vol 63, Issue 28

2010-07-15 Thread Andrew Woodhead
 unable to access images
 which I have stored on the NAS in shared folders from programs such as
 Picasa, Gwenview or Digikam. I guess that I am not alone with that
 problem. After a lot of googling I found a 'solution' that was
 originally published in respect of version 7.10. I will summarise the
 'solution'.

 1. Install smbfs
 2. Create a folder inside /media. In my case /media/NASmedia
 3. Create a credentials file in /root. (.cifscredentials) It contains
 passwords and is protected by the root account.
 4. Edit .cifscredentials to contain username-USERNAME and
 password=PASSWORD. Save and close the file.
 5. Edit /etc/fstab and add the following line at the end of the file:

 //192.168.1.15/SHARENAME /media/Storage cifs
 auto,iocharset=utf8,uid=USER,gid=users,credentials=/root/.cifscredentials,file_mode=0775,dir_mode=0775
 0 0

 NB. 192.168.1.15 is the IP address of my NAS
SHARENAME is the share name to mount.
USER is my Ubuntu username.

 The file_mode=0775,dir_mode=0775 part sets the mounted directory as
 read/write for all users so long as the SMB username you set in
 .cifscredentials has read/write access.

 Once saved, the system would display a drive icon for the mounted share
 and it was accessible to all programs after running sudo mount -a or
 upon reboot.

 Now it only works if I run sudo mount -a after bootup.

 Any ideas?

 TIA

 Bob Giles

 -- next part --
 An HTML attachment was scrubbed...
 URL:
 https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20100715/a8dd0471/attachment-0001.htm

 --

 Message: 5
 Date: Thu, 15 Jul 2010 07:55:13 +0100
 From: Colin Law clan...@googlemail.com
 Subject: Re: [ubuntu-uk] Lost internet usage in Ubuntu 9.04
 To: UK Ubuntu Talk ubuntu-uk@lists.ubuntu.com
 Message-ID:
aanlktilkjzl5-vyzqf7e3misttq9hzgntmmpcbwk4...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8

 On 13 July 2010 23:22, David King linux...@avoura.com wrote:
  In my Ubuntu 9.04 installation, just a few days ago, I lost my usage of
  the internet. I still had internet access. Firstly though, there was a
  problem with the router, so I tried a friend's router (both Netgear
  DG834) and the friend's one worked.
 
  But in Ubuntu, I could not access any web pages or email. Skype works.

 What happens when you try to access a web page?

 Check you have not got your browser set to Work Offline, this is in
 the file menu in Firefox.

 Does it work for another user on the PC?  If you have not other user
 add one using System, Administration, Users and Groups.  A second user
 is often useful for testing.

 Colin

 
  I tried using my netbook and that could access web pages okay.
 
  So then I booted my main PC into the old installation that I kept there
  of Ubuntu 8.04, which I am using now. And in this the internet works
  just fine, I can access websites and download and send email.
 
  But in Ubuntu 9.04, it seems like something is blocking my access. I do
  not recall installing anything new, although something may have been
  updated recently.
 
  What is the likely cause of the Internet being blocked for websites and
  email (but not Skype)?
 
 
  David King
 
  --
  ubuntu-uk@lists.ubuntu.com
  https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
  https://wiki.ubuntu.com/UKTeam/
 



 --

 Message: 6
 Date: Thu, 15 Jul 2010 08:05:44 +0100
 From: Alan Lord (News) alansli...@gmail.com
 Subject: Re: [ubuntu-uk] mount and fstab query
 To: ubuntu-uk@lists.ubuntu.com
 Message-ID: i1mc08$q...@dough.gmane.org
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 On 15/07/10 07:36, Bob Giles wrote:
  Hi guys,
 
  I always work on the theory that most problems are caused by the lowest
  common denominator  Me! However, this time I am not so sure.

 Any errors reported in, for example, /var/log/syslog or /var/log/samba/...?

 My first thought was a timing issue, i.e. the cifs kernel module isn't
 loading quickly enough. I'm not sure if this is the right avenue at all
 but one I would try and check.

 Have you changed anything (updated s/w) on either system recently? For
 example I recently upgraded my home server to 10.04 and a change to the
 samba stack stopped my Wife's WindowsXP VM (just for iTunes) working,
 but didn't affect anything else. It only required a minor change
 (forcing Samba to be a WINS server) but just to illustrate a point.

 There are few pointers here that might help too:

 http://www.justlinux.com/nhf/Filesystems/Mounting_smbfs_Shares_Permanently.html

 HTH

 Al

 --
 The Open Learning Centre
 http://www.theopenlearningcentre.com




 --

 Message: 7
 Date: Thu, 15 Jul 2010 09:15:29 +0100
 From: Tyler J. Wagner ty...@tolaris.com
 Subject: Re: [ubuntu-uk] mount and fstab query
 To: ubuntu-uk@lists.ubuntu.com
 Cc: Bob Giles thecorf...@gmail.com
 Message-ID: 201007150915.30815.ty...@tolaris.com
 Content-Type: Text/Plain;  charset

Re: [ubuntu-uk] ubuntu-uk Digest, Vol 63, Issue 28

2010-07-15 Thread Philip Stubbs
On 15 July 2010 12:16, Andrew Woodhead
andrew.woodhead...@googlemail.com wrote:


 RE: Message 2
 Try emptying out /etc/resolv.conf then add these 2 lines:
 nameserver 8.8.8.8
 nameserver 8.8.4.4
 Save the new file then restart your browser.
 -Andy


foil_hatAs long as you are happy to let Google know everywhere you
go on the internet./foil_hat
-- 
Philip Stubbs

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] mount and fstab query

2010-07-15 Thread Bob Giles

On 15/07/10 11:27, ByteSoup wrote:

On 15/07/10 07:36, Bob Giles wrote:


Now it only works if I run sudo mount -a after bootup.

Any ideas?



== Snip ==

Alan, Tyler and Mark,

Thank you all for your suggestions and references. This does indeed 
appear to be a timing problem.


The power supply here in Greece where I live has been particularly 
tiresome lately and as a result, everything gets powered down overnight. 
Tyler's suggestion seems to be the way to go. I did not realise that 
networking started on bootup as opposed to login.


Thanks again to you all for your time.

Regards,

Bob Giles

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] mount and fstab query

2010-07-15 Thread Tyler J. Wagner
On Thursday 15 July 2010 19:19:18 Bob Giles wrote:
 Thank you all for your suggestions and references. This does indeed
 appear to be a timing problem.
 
 The power supply here in Greece where I live has been particularly
 tiresome lately and as a result, everything gets powered down overnight.
 Tyler's suggestion seems to be the way to go. I did not realise that
 networking started on bootup as opposed to login.

To be exact, basic networking (localhost) starts at boot. Networking by cable 
MAY start at boot, but usually at login. Wireless only starts at login as it 
needs access to your keyring to get the key.

But mounting from fstab always happens at boot.

Tyler

-- 
He that is truly deep strives for clarity, he that wishes to appear 
deep to the crowd strives for obscurity, for the crowd considers deep 
only that which it cannot see to the bottom, the crowd is so timid and 
afraid of going into the water.
   -- Friedrich Nietzsche

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Lost internet usage in Ubuntu 9.04

2010-07-15 Thread David King
After using 8.04 again for a couple of days and still not finding a good 
solution my problem in 9.04, I decided to boot into 9.04 again and see 
if it might work.

Bizarrely, it is now working normally again with full internet access in 
9.04


David



David King wrote:
 In my Ubuntu 9.04 installation, just a few days ago, I lost my usage of 
 the internet. I still had internet access. Firstly though, there was a 
 problem with the router, so I tried a friend's router (both Netgear 
 DG834) and the friend's one worked.

 But in Ubuntu, I could not access any web pages or email. Skype works.

 I tried using my netbook and that could access web pages okay.

 So then I booted my main PC into the old installation that I kept there 
 of Ubuntu 8.04, which I am using now. And in this the internet works 
 just fine, I can access websites and download and send email.

 But in Ubuntu 9.04, it seems like something is blocking my access. I do 
 not recall installing anything new, although something may have been 
 updated recently.

 What is the likely cause of the Internet being blocked for websites and 
 email (but not Skype)?


 David King

   

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/