Posts Tagged “linux”

Modify your .bash_profile (login options; .bashrc is for non-login options) to include the following:

export LS_OPTIONS='--color=auto'
eval `dircolors`
alias ls='ls $LS_OPTIONS'

Comments Comments

I have updated my workstation to the 64-bit beta of Ubuntu (v. 9.04) Jaunty Jackalope. Installing the Adobe Flash (v. 10) plugin was easy.

Get the beta of the player from the bottom of the page at:

http://labs.adobe.com/downloads/flashplayer10.html

And then follow the directions at:

http://labs.adobe.com/technologies/flashplayer10/releasenotes_64bit.html#install

I restarted Firefox and everything worked fine — including videos at YouTube.

Comments Comments

Situation:

  • 64-bit Ubuntu Intrepid 8.10
  • 2 x NIC
  • Both configured via DHCP
  • eth0 goes to a LAN (10.5.5.0/24)
  • eth1 goes to the Internet.

Problem:

  • When both NICs are up I can’t get to the Internet.
  • The issue is that both DHCP clients were requesting default gateway info and so I had two default gateway entries in my routing table.

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.59.3.0 * 255.255.255.0 U 0 0 0 eth1
10.5.5.0 * 255.255.255.0 U 0 0 0 eth0
192.168.122.0 * 255.255.255.0 U 0 0 0 vnet0
link-local * 255.255.0.0 U 1000 0 0 eth0
default 10.59.3.1 0.0.0.0 UG 100 0 0 eth1
default 10.5.5.1 0.0.0.0 UG 100 0 0 eth0

Solution:

  • Modify the /etc/dhcp3/dhclients.conf file.
  • Add an interface section for each NIC and don’t request a router for the LAN-side.

interface “eth0″ {
request subnet-mask, broadcast-address, time-offset, domain-name-servers,
domain-name, domain-search, host-name, interface-mtu;
}

interface “eth1″ {
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu;
}

note: I am also using my own DNS server so I don’t request one from eth1.

Comments Comments

I recently installed Ubuntu Intrepid (8.10) 64-bit Desktop and wanted to get Java working in Firefox 3. I had to do several things to get it working.

These are my steps, to the best of my recollection, at this point. I will try to go back and test them on a clean box and tidy them up asap.

Summary:

  • Remove icedtea6-plugin
  • Remove openjdk-6-jdk
  • Remove gcj
  • Install sun-java6-jdk
  • Install sun-java6-bin
  • Install jdk-6u12-linux-x64.bin (I installed to /usr/lib/jvm/
  • Use update-alternatives/galternatives and set all the java related links to the proper locations
  • ln -s /usr/lib/jvm/jdk1.6.0_12/jre/lib/amd64/libnpjp2.so  /usr/lib/firefox-3.0.7/plugins/libnpjp2.so

Comments Comments

Powered by Web Design Company Plugins