Re: [ubuntu-uk] connecting to secure network in University

2010-12-11 Thread Graham Smith
Tim

Are you by any chance trying to connect to an eduroam network? If so, you
 may find the instructions at this Cambridge university website helpful:
 http://www.cam.ac.uk/cs/wireless/eduroam/configuring-ubuntu10.04.html


Thanks, I'm not trying to log onto eduroam, but these instructions are still
useful.

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


Re: [ubuntu-uk] connecting to secure network in University

2010-12-10 Thread Graham Smith
Patrick

there's a bug logged for this against Network Manager:

 https://bugzilla.gnome.org/show_bug.cgi?id=632184

 I believe this is the same issue you're encountering and in fact it's the
 issue that I have with my company's WiFi and certificates. The same
 certificate is used for 802.1X on the wired network and this works, but it
 doesn't work on the WiFi which uses WPA/WPA2 Enterprise.


Thanks, in fact I now realise that I'm still on 10.04, but its an Asus 901,
which is the same netbook mentioned in the bug report, and it seemed to
start on 10.04. Hopefully, it is the same issue and that it might be fixed
with an update.

The workaround is a bit beyond me :-(

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


Re: [ubuntu-uk] connecting to secure network in University

2010-12-10 Thread Timothy Rittman

On 10/12/10 22:06, Graham Smith wrote:

Patrick

there's a bug logged for this against Network Manager:

https://bugzilla.gnome.org/show_bug.cgi?id=632184

I believe this is the same issue you're encountering and in fact
it's the issue that I have with my company's WiFi and
certificates. The same certificate is used for 802.1X on the wired
network and this works, but it doesn't work on the WiFi which uses
WPA/WPA2 Enterprise.


Thanks, in fact I now realise that I'm still on 10.04, but its an Asus 
901, which is the same netbook mentioned in the bug report, and it 
seemed to start on 10.04. Hopefully, it is the same issue and that it 
might be fixed with an update.


The workaround is a bit beyond me :-(

Graham

Hi Graham,

Are you by any chance trying to connect to an eduroam network? If so, 
you may find the instructions at this Cambridge university website 
helpful: 
http://www.cam.ac.uk/cs/wireless/eduroam/configuring-ubuntu10.04.html


If so, the certificate you need is located in 
/etc/ssl/certs/AddTrust_External_Root.pem


This worked for me at Cambridge, but I'm not sure whether the same 
certificates are used at all universities with eduroam. Anyone know the 
answer to that?


Kind regards,

Tim *


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


Re: [ubuntu-uk] Connecting to a network

2009-07-13 Thread David King
I eventually got it to work by changing the sharing settings on the Asus 
Eee PC, to not require a password, then it worked. (I had set up a 
username of user on the Ubuntu PC, as that is the name used on the Asus, 
with the same password, although I do not know why it did not work.)

Thanks for all the suggestions, I will have to look at NFS and SSH - I 
have heard of these but never learnt them. Sometimes I find it easier 
just to do things the old way I am used to, i.e. the Windows way. I am 
not a fan of Windows nor Microsoft, but using it for so long makes some 
Linux things still seem too alien.

I will have to get my best Dalek onto it!


David King



William Anderson wrote:
 Paul Roach wrote:
   
 To be honest, the quickest way to access networked data between linux
 boxes is to ensure ssh is enabled, and to open nautilus - in the
 [snip]
 

 but at least with smb/cifs, you're not encrypting/decrypting your
 traffic as you would with ssh/sftp, so if you're confident your
 underlying network is secure, you get increased throughput.

 -n

   

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


Re: [ubuntu-uk] Connecting to a network

2009-07-12 Thread Paul Roach
To be honest, the quickest way to access networked data between linux
boxes is to ensure ssh is enabled, and to open nautilus - in the
address bar type

ssh://usern...@ipaddress

You'll then be asked to log on with credentials on the remote machine
(assuming you don't use key-based authentication)...

Samba is really designed for interoperability between Windows and *nix
boxes...there are several methods of sharing files natively though.
You might also want to read up on NFS

Hope this helps

On 11/07/2009, David King linux...@avoura.com wrote:
 I do have another problem, with the network.

 I have put my Asus EeePC running Xandros on the network, and I want to
 connect to it from my Ubuntu PC and vice versa.
 I have installed samba on Ubuntu, plus gadmin-samba, and Firestarter.

 I have tried to set up the file sharing so that the Asus can access my
 home directory, and so that Ubuntu can access the Asus home directory.

 But when trying to access Asus from Ubuntu, it asks for a username,
 domain and password. But when I entered the Asus username, the PC name,
 and the password, it would not connect. Error message: Unable to mount
 location. Failed to mount Windows share.

 And from the Asus, when I try to connect to the Ubuntu PC, I get an
 error saying No route to host.

 I have used networking successfully in the past. It was not difficult at
 all in Windows XP, 2000 and 98 (although I found it to be impossible in
 Windows ME).

 I then started using Xandros, and networking with that was very easy. I
 have also networked PCs running other Linux distros, but when it comes
 to Ubuntu, I just cannot get it to work. I have tried in 7.10, 8.04 and
 now 9.04 -- I always get no access to other PCs on the network from
 Ubuntu, and no access to Ubuntu from other PCs. However, I can access my
 NAS okay from Ubuntu (as mentioned earlier, below).

 So why is networking in Ubuntu so very difficult to set up? What is the
 magic thing I need to enter to make it work? Other distros make it much
 easier. Ubuntu did not even have Samba installed by default, so I fear I
 may still need to install another piece of software to make it all work.

 Firestarter is set up to allow incoming traffic to all using Samba, and
 I specified the network by IP (192.168.0.2-192.168.0.255) and by name.

 And when I try to access the Ubuntu network share via Network in
 Nautilus, which I should be able to do as it is the PC I am accessing it
 from, I get an error saying Unable to mount location. Failed to
 retrieve share list from server.


 So how do I get networking/filesharing working in Ubuntu?


 David King




 David King wrote:
 Thanks, Matthew, that worked perfectly. I have saved it in a script so
 that I can mount the NAS from the CLI when I need to use it, and have
 full read-write access.


 David King


 Matthew Daubney wrote:



 Hi David,

 You need to tell the mount line to override the uid and gid of the
 files. This can be done with the options switch on the mount line like:

 sudo mount -t cifs '//192.168.0.4/DISK 1' /media/nas1 -o
 uid=1000,gid=1000

 You'll need to look up the id for your user and your group, you can find
 that info in /etc/group, which will look like yourgroupname:x:gid: and
 in /etc/passwd.

 If you're the first user they'll probab;y both be 1000.

 Hope that helps!

 -Matt Daubney









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


-- 
Sent from my mobile device

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


Re: [ubuntu-uk] Connecting to a network

2009-07-12 Thread Alan Lord (News)
On 11/07/09 22:55, David King wrote:
snip /
 And when I try to access the Ubuntu network share via Network in
 Nautilus, which I should be able to do as it is the PC I am accessing it
 from, I get an error saying Unable to mount location. Failed to
 retrieve share list from server.

 So how do I get networking/filesharing working in Ubuntu?

Why use Samba for Linux file sharing?

Install sshd on both machines:

sudo apt-get install openssh-server

In your file browser (The Places menu), select connect to server

Under service type select ssh.

In the server box enter the ip address of the machine you want to 
connect to.

The Folder you *can* set if you wish. Perhaps something like 
/home/myhome_dir, or leave it at the default and you will be connected 
to the root of the filesystem /.

Click the Add Bookmark box and give it a sensible name and click on connect.

Decide on how you want to save the password etc when asked. and it is done.

You might also like to look at sshfs. This allows you mount file systems 
over ssh, you can include the command in your /etc/fstab file so that it 
will be automatically mounted on boot up, or even create a short script 
that gets run when you login for example...

There are lots of ways to do networking/filesharing. You just have to 
find one that suits you.

Samba generally works for me (I have one windows PC left in our 
network), but have you configured the samba server properly? The 
configuration is usually kept in /etc/samba/smb.conf

HTH

Alan


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


Re: [ubuntu-uk] Connecting to a network

2009-07-12 Thread William Anderson
Paul Roach wrote:
 To be honest, the quickest way to access networked data between linux
 boxes is to ensure ssh is enabled, and to open nautilus - in the
 [snip]

but at least with smb/cifs, you're not encrypting/decrypting your
traffic as you would with ssh/sftp, so if you're confident your
underlying network is secure, you get increased throughput.

-n

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


Re: [ubuntu-uk] Connecting to a network

2009-07-11 Thread David King
I do have another problem, with the network.

I have put my Asus EeePC running Xandros on the network, and I want to 
connect to it from my Ubuntu PC and vice versa.
I have installed samba on Ubuntu, plus gadmin-samba, and Firestarter.

I have tried to set up the file sharing so that the Asus can access my 
home directory, and so that Ubuntu can access the Asus home directory.

But when trying to access Asus from Ubuntu, it asks for a username, 
domain and password. But when I entered the Asus username, the PC name, 
and the password, it would not connect. Error message: Unable to mount 
location. Failed to mount Windows share.

And from the Asus, when I try to connect to the Ubuntu PC, I get an 
error saying No route to host.

I have used networking successfully in the past. It was not difficult at 
all in Windows XP, 2000 and 98 (although I found it to be impossible in 
Windows ME).

I then started using Xandros, and networking with that was very easy. I 
have also networked PCs running other Linux distros, but when it comes 
to Ubuntu, I just cannot get it to work. I have tried in 7.10, 8.04 and 
now 9.04 -- I always get no access to other PCs on the network from 
Ubuntu, and no access to Ubuntu from other PCs. However, I can access my 
NAS okay from Ubuntu (as mentioned earlier, below).

So why is networking in Ubuntu so very difficult to set up? What is the 
magic thing I need to enter to make it work? Other distros make it much 
easier. Ubuntu did not even have Samba installed by default, so I fear I 
may still need to install another piece of software to make it all work.

Firestarter is set up to allow incoming traffic to all using Samba, and 
I specified the network by IP (192.168.0.2-192.168.0.255) and by name.

And when I try to access the Ubuntu network share via Network in 
Nautilus, which I should be able to do as it is the PC I am accessing it 
from, I get an error saying Unable to mount location. Failed to 
retrieve share list from server.


So how do I get networking/filesharing working in Ubuntu?


David King




David King wrote:
 Thanks, Matthew, that worked perfectly. I have saved it in a script so 
 that I can mount the NAS from the CLI when I need to use it, and have 
 full read-write access.


 David King


 Matthew Daubney wrote:
   
 
   
 Hi David,

 You need to tell the mount line to override the uid and gid of the
 files. This can be done with the options switch on the mount line like:

 sudo mount -t cifs '//192.168.0.4/DISK 1' /media/nas1 -o
 uid=1000,gid=1000

 You'll need to look up the id for your user and your group, you can find
 that info in /etc/group, which will look like yourgroupname:x:gid: and
 in /etc/passwd.

 If you're the first user they'll probab;y both be 1000.

 Hope that helps!

 -Matt Daubney




   
 

   

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