User Tools

Site Tools


linux:welcome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:welcome [2012/02/02 14:49]
claes [Novell drive on Linux]
linux:welcome [2021/08/14 04:21] (current)
Line 1: Line 1:
 ====== Linux Help ====== ====== Linux Help ======
 +===== openssh-server =====
 +Install
 +  * openssh-server
 +  * ufw
 +  * gufw
 +
 +Use gufw to setup the firewall. Create rules to open port 22 for incoming data.
 +
 +
 +
 +===== Hohenheim VPN =====
 +This solution is working for Ubuntu 11.10, may work on other OS as well.
 +
 +Install packages
 +  * vpnc
 +  * network-manager-vpnc-gnome
 +  * network-manager-vpnc
 +
 +Login to Hohenheim intranet and find [[https://rz-static.uni-hohenheim.de/kommunikation/vpn/Anleitung-vpnc.html]]. Here you will find the official description for connecting via vpnc.
 +
 +In Ubuntu vpnc.conf is located at /etc/vpnc/ If you create a file called
 +  default.conf
 +you can connect to the VPN by typing
 +  sudo vpnc
 +otherwise you have to type
 +  sudo vpnc [name of conf-file]
 +  
 +<file conf default.conf>
 +IPSec gateway 144.41.19.24
 +IPSec ID Hohenheim-radius
 +IPSec secret Kartoffel
 +IKE Authmode psk
 +Xauth username [username]
 +Xauth password [password]
 +</file>
 +
 ===== Novell drive on Linux ===== ===== Novell drive on Linux =====
-Martin Weis has made a guide on how to setup a Novell drive +Many people need to access their Novell network drives from within Ubuntu. This page describes how to mount your Novell network drives so that you can read and write to them. It is specific for Hohenheim University section 440c.
-[[turbo>Debianinstallation#NOVELL_Verzeichnisdienste]]+
  
 +This guide is based on [[https://help.ubuntu.com/community/MountingNovellNetworkDrives|Ubuntus officel description]] and the description made by Martin Weis [[turbo>Debianinstallation#NOVELL_Verzeichnisdienste]].
 +
 +==== Install and Configure Required Packages ====
 +=== Install ===
   * Install ncpfs   * Install ncpfs
   * Install IPX   * Install IPX
  
 +Novell servers use the NCP protocol for network drives. We need to install support for this protocol by installing some packages.
 +
 +You must enable the Universe repository before installing these packages.
 +
 +Click on "System>Administration>Synaptic Package Manager" to start Synaptic.\\
 +Search for "ncpfs"\\
 +Choose to install "ncpfs"\\
 +Click "Apply" and allow it to install any required dependencies. Do the same for IPX.
 +
 +You can also use APT to install the packages
 +  sudo apt-get install ncpfs
 +  sudo apt-get install ipx
 +=== Configure ===
 +Configure /etc/ipx.conf as follows
 <code> <code>
 # this attempts auto-configuration # this attempts auto-configuration
Line 14: Line 67:
 # for manual configuration, set IPX_CONFIGURED=yes, # for manual configuration, set IPX_CONFIGURED=yes,
 # and set the options below for your system # and set the options below for your system
-IPX_DEVICE=eth0+IPX_DEVICE=eth0                         # The device you use for the connection
 #IPX_FRAME=802.2 # either 802.2, 802.3 or EtherII #IPX_FRAME=802.2 # either 802.2, 802.3 or EtherII
-IPX_FRAME=EtherII # either 802.2, 802.3 or EtherII+IPX_FRAME=EtherII                       # EtherII works at Hohenheim
 IPX_INTERNAL_NET=no IPX_INTERNAL_NET=no
-IPX_NETNUM=4117750 # your internal network number+IPX_NETNUM=4117750 # ip of the server. can be found usin 'slist'
 # routing options # routing options
-IPX_SERVER_ROUTE=no # setup route to external server? +IPX_SERVER_ROUTE=no         # setup route to external server? 
-IPX_SERVER_NETNUM=0 # your server's internal network number+IPX_SERVER_NETNUM=0         # your server's internal network number
 IPX_SERVER_NODENUM=000000000000 # your server's node number IPX_SERVER_NODENUM=000000000000 # your server's node number
 </code> </code>
 +Restart ipx after the configuration.
 +
 +==== Mount the Novell drives ====
 +The drive can now be mounted using the command
 +  ncpmount -S 440-SERVER -U [username].440c.440.uniho -P [password] /media/novell/
 +You just have to create the directory /media/novell/
 +
 +To unmount use this command
 +  ncpumount /media/novell/
 +  
 +=== Create the directory ===
 +Create a new directory called "/media/novell"
 +
 +Open a Terminal.\\
 +Run this command: 
 +  sudo mkdir /media/novell
 +Change permissions so that your user can access it. Be sure to use your actual username on the Linux system
 +  sudo chown yourusername:yourusername /media/novell
 +Optional) Create a link so the folder will be available on your desktop. Be sure to use your actual username again
 +  ln -s /media/novell /home/yourusername/Desktop/novell
 +  
 +==== An Icon to Mount the Drive ====
 +Using alacarte or Main Menu create a launcher.
 +
 +Click on "Icon" and choose the picture of a mounted harddrive.\\
 +Click on the "Command" tab and select "Application in terminal"\\
 +Paste this command into the field labeled "Command"
 +  ncpmount -S 440-SERVER -U [username].440c.440.uniho -P [password] /media/novell/
 +Be sure to edit each of the fields with your information
 +
 +==== An Icon to Unmount the Drive ====
 +Once the network drive is mounted, you may want to unmount the drive. To do this, we can create another desktop launcher to run the unmount command.
 +
 +Using alacarte or Main Menu create a launcher.
 +
 +Click on "Icon" and choose the picture of a unmounted harddrive.\\
 +Click on the "Command" tab and select "Application in terminal"\\
 +Paste this command into the field labeled "Command"\\
 +  ncpumount /media/novell 
 +
 +For more information (including screenshots) go to this blog: [[http://useopensource.blogspot.com/2007/01/how-to-mount-novell-network-drives.html|How to mount Novell network drives]]
 +
 ===== Commands ===== ===== Commands =====
   locate   locate
Line 99: Line 194:
 <cite>[[http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing]]</cite> <cite>[[http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing]]</cite>
 </blockquote> </blockquote>
 +
 +===== to lowercase =====
 +  rename 'y/A-Z/a-z/' *
 +[[http://scottlinux.com/2011/04/24/batch-rename-files-with-rename/]]
 +
 +===== Add FTDI USB device =====
 +First use
 +  lsusb
 +you should get a result like this
 +<code>
 +Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
 +Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
 +Bus 003 Device 003: ID 0403:fac6 Future Technology Devices International, Ltd 
 +Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 +Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 +Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 +Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 +Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 +Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 +Bus 001 Device 010: ID 0930:0219 Toshiba Corp. 
 +Bus 001 Device 003: ID 04f2:b329 Chicony Electronics Co., Ltd 
 +Bus 001 Device 004: ID 0424:2517 Standard Microsystems Corp. Hub
 +Bus 001 Device 005: ID 0d8c:0105 C-Media Electronics, Inc. CM108 Audio Controller
 +Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
 +Bus 001 Device 007: ID 0e8f:0022 GreenAsia Inc. 
 +Bus 001 Device 008: ID 046d:c05b Logitech, Inc. M-U0004 810-001317 [B110 Optical USB Mouse]
 +</code>
 +now run the command
 +<note important>remember to check the vendor and product on your system</note> 
 +
 +  sudo modprobe ftdi_sio vendor=0x0403 product=0xfac6
 +To check the port number write the following commend
 +  dmesg | grep tty
 +you should get something like this
 +<code>
 +[    0.000000] console [tty0] enabled
 +[   18.817407] usb 1-1.4.2: pl2303 converter now attached to ttyUSB0
 +[ 8652.821404] usb 3-4: FTDI USB Serial Device converter now attached to ttyUSB1
 +</code>
linux/welcome.1328190592.txt.gz · Last modified: 2021/08/14 04:19 (external edit)