User Tools

Site Tools


linux:welcome

Differences

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

Link to this comparison view

linux:welcome [2012/02/02 16:18]
claes [Hohenheim VPN]
linux:welcome [2021/08/14 04:21]
Line 1: Line 1:
-====== Linux Help ====== 
-===== Hohenheim VPN ===== 
-FIXME Coming soon. 
-For Ubuntu 11.10, may work on other OS as well. 
  
-Install packages 
-  * vpnc 
-  * network-manager-vpnc-gnome 
-  * network-manager-vpnc 
- 
-Kogin to Hohenheim intranet and find [[https://rz-static.uni-hohenheim.de/kommunikation/vpn/Anleitung-vpnc.html]] 
- 
-In Ubuntu vpnc.conf is located at /etc/vpnc/ If you create a file calles 
-  default.conf 
-you can connect to the VPN by typing 
-  sudo vpnc 
-otherwise you hva to type 
-  sudo vpnc [name of conf-file] 
-   
-<file> 
-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 ===== 
-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. 
- 
-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 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> 
-# this attempts auto-configuration 
-IPX_AUTO_PRIMARY=on 
-IPX_AUTO_INTERFACE=on 
-IPX_CONFIGURED=yes 
-# for manual configuration, set IPX_CONFIGURED=yes, 
-# and set the options below for your system 
-IPX_DEVICE=eth0                         # The device you use for the connection 
-#IPX_FRAME=802.2 # either 802.2, 802.3 or EtherII 
-IPX_FRAME=EtherII                       # EtherII works at Hohenheim 
-IPX_INTERNAL_NET=no 
-IPX_NETNUM=4117750 # ip of the server. can be found usin 'slist' 
-# routing options 
-IPX_SERVER_ROUTE=no         # setup route to external server? 
-IPX_SERVER_NETNUM=0         # your server's internal network number 
-IPX_SERVER_NODENUM=000000000000 # your server's node number 
-</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 ===== 
-  locate 
-Find files everywhere 
- 
-===== Serial to USB ===== 
-If you are using the usb -> RS232 adapter, the serial drivers may need to be installed for the device to work properly. After plugging in the device, first check the hardware messages to see the device was detected: 
- 
-  dmesg 
- 
-Torward the end of the messages, you should see this: 
- 
-  usb 1-1: new full speed USB device using uhci_and address 2 
-  usb 1-1: configuration #1 chosen from 1 choice 
-   
-if you see this, then you do not need to do the rest 
-  [ 5429.330501] moschip7720 2-1.1:1.0: Moschip 2 port adapter converter detected 
-  [ 5429.331157] usb 2-1.1: Moschip 2 port adapter converter now attached to ttyUSB1 
-  [ 5429.331245] usb 2-1.1: Moschip 2 port adapter converter now attached to ttyUSB2 
- 
- 
-Now, we need to figure out the device vendor number and product number to tell the usbserial driver. For this we can use lsusb. The easiest way to find the information is to first unplug the device, then run lsusb: 
- 
-  lsusb 
- 
- 
-You will see a summary list of your USB devices on the system, I only have one: 
- 
-Bus 001 Device 001: ID 0000:0000 
- 
-Now, plug the device back in, and run lsusb again: 
- 
-lsusb  
-===== Cardapio ===== 
-Installation in Ubuntu 
- 
- 
-Cardapio can easily be installed in Ubuntu versions 10.04 (Lucid Lynx), 10.10 (Maverick Meerkat), 11.04 (Natty Narwhal), and the upcoming 11.11 (Oneiric Ocelot). To install, simply follow the steps below: 
- 
-1) Run these commands in a terminal: 
-  $ sudo add-apt-repository ppa:cardapio-team/unstable && sudo apt-get update 
- 
-2) Now pick one or more of these, depending on how you want to use Cardapio: 
-  $ sudo apt-get install cardapio-gnomepanel # <-- to install the Gnome-Panel applet 
-  $ sudo apt-get install cardapio-docky             # <-- to install the Docky applet 
-  $ sudo apt-get install cardapio-awn                # <-- to install the AWN applet 
-  $ sudo apt-get install cardapio-gnomeshell  # <-- to install the Gnome-Shell applet 
-  $ sudo apt-get install cardapio                         # <-- to use it in stand-alone mode only 
- 
-3) Done! 
-===== Matlab ===== 
-Make sure you activate with the right username otherwise it wont work. 
- 
-[[https://help.ubuntu.com/community/MATLAB|Ubuntu Matlab help]] 
-==== Create A MATLAB Launcher ==== 
-1) Get an icon: 
- 
-  sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png 
- 
-2) Get the launcher file: 
- 
-  sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab-r2011a.desktop' -O /usr/share/applications/matlab.desktop 
-==== Problems ==== 
-Matlab is not yet updated to Oneric so yo have to create a symbolic link to 
-  /lib/i386-linux-gnu/libc.so.6 
-change dir to /lib/ and excute the following command 
-  sudo ln -s i386-linux-gnu/libc.so.6 libc.so.6 
-   
-This works but creates another problem: 
- 
-<blockquote> 
-libc.so was moved as part of the multiarch work in Ubuntu 11.04. The reason that there can't be a symlink there is that the purpose of multiarch is to make it possible to install both the i386 and amd64 versions of libc at the same time so that you can run 32-bit binaries more easily on 64-bit systems and vice versa (and other similar situations). If the libc6 package contained a symlink to the new location, then the versions of that package for different architectures wouldn't both be installable at the same time (which version of the symlink would dpkg pick?), defeating the entire point of the exercise. 
- 
-Anything that hardcodes the path to libc.so must be updated to work properly from Ubuntu 11.04 onwards. If the script you're talking about is part of Ubuntu, please report a bug on it and add the multiarch tag. 
-<cite>[[http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing]]</cite> 
-</blockquote> 
linux/welcome.txt · Last modified: 2021/08/14 04:21 (external edit)