LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

remote shell access

Posted 05-08-2011 at 07:03 AM by neonsignal
Updated 05-08-2011 at 08:06 AM by neonsignal

Remote (and secure) access to another system makes use of the ssh package.

At its simplest, this provides secure copying from one machine to an account on another remote machine:
Code:
scp file user@remote_machine:~
Login to the other machine can be automated by creating a private/public key pair to sign the access. The public key is added to the authorized keys of the destination account. The private key must be kept secure.
Code:
ssh-keygen
...
Senior Member
Posted in Uncategorized
Views 2233 Comments 1 neonsignal is offline
Old

sharing files from Windows machines

Posted 05-07-2011 at 07:07 AM by neonsignal

To access files shared from Windows machines, install the package smbfs.

Shares on the other machine can be listed:
Code:
smbclient -L windows_machine
Shares can be mounted to a local mount-point (ie an empty directory):
Code:
smbmount //windows_machine/share share -o user=username
or using mount directly:
Code:
mount -t smbfs -o username=username //windows_machine/share share
Senior Member
Posted in Uncategorized
Views 254 Comments 0 neonsignal is offline
Old

manually setting up a bridge tap into a network

Posted 05-07-2011 at 05:01 AM by neonsignal

The following stanzas are for /etc/network/interfaces. They set up a bridge tap into the network (which I originally used for virtual machines, though most of the VM managers set this up automatically now).

First, we create a bridge:
Code:
iface br0 inet static
   address 192.168.1.2
   netmask 255.255.255.0
   gateway 192.168.1.1
   bridge_ports eth0 tap0
The old interface is changed to manual:
Code:
iface eth0
...
Senior Member
Posted in Uncategorized
Views 535 Comments 0 neonsignal is offline
Old

manually setting up WPA for wireless interfaces

Posted 05-06-2011 at 05:26 AM by neonsignal
Updated 05-06-2011 at 05:31 AM by neonsignal

Since the default wireless interface is typically wlan0, it can be useful to edit /etc/udev/rules.d/70-persistent-net.rules to set the interface name.

The wireless supplicant daemon is also required:
Code:
apt-get install wpasupplicant
The wpasupplicant entries are stored in /etc/wpa_supplicant/wpa_supplicant.conf. Entries can be added manually, or using:
Code:
wpa_passphrase ssid key >>/etc/wpa_supplicant/wpa_supplicant.conf
...
Senior Member
Posted in Uncategorized
Views 420 Comments 0 neonsignal is offline
Old

network card buffer overflows on Toshiba Portege

Posted 05-06-2011 at 05:13 AM by neonsignal
Updated 05-30-2011 at 07:14 AM by neonsignal

On a Toshiba Portege 3440 series laptop, this problem was solved by setting noapic in the boot options.
Senior Member
Posted in Uncategorized
Views 436 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration