Dr D's Abode

Linux

AT&T Quicksilver, Linux, and service

by on Mar.15, 2010, under Computers, Linux, Mobile

Here is the problem.  I am out at lunch with my EeePC, have my USB adapter, and can tether with my cell phone. Except, for some reason, ATT hates when I tether, and drops my traffic.  On top of that, I cannot seem to pass data and voice at the same time, like ATT suggests I can. (I think its when you use MediaNET to tether).

So, I have to either use another phone to talk, and mine to tether, vice versa or whatever. Except I ssh in…and my connection drops.  Damn you ATT for filtering…But wait, we have a work offered PCMCIA card with a SIM to connect, but the Eee has no PCMCIA

In comes the AT&T Quicksilver connect, a USB enabled card to connect with the SIM. Because fedora works with like everything off the bat, I plug in…and…the whole system freezes.  WTH?!?

So after some investigating, it appears that this card is somewhat supported by most distros, and that ModemManager, tries to be the cool application, and take over the device….and fails horribly.

So more investigation, I find a nice website which seems to fix all my needs.  http://www.pharscape.org/Quicksilver.html?d=&jn78eb9aff=2

They offer a driver, a program to handle the ‘virtual cd’, and even software to connect. Fortunately, Fedora 12 offers the first two natively, just noting to connect with, so in come hsolink and hsoconnect!

So basically, you remove ModemManager, and install hsolink and hsoconnect, and you are home free, well almost.

There is some drawbacks to doing this, but for now, at least I can connect!

So lets hop to it!

Removing ModemManager:   rpm -e –nodeps ModemManager

This may not work for everyone, but in my use, on my EeePC, it is not needed for anything else.  I can still tether with my cell, as that shows up as eth1.

Next, installing hsolink and hsoconnect.  I would advice getting these from their normal website, however I do have local copies just in case.  [ hsolink-1.0.118.tar.gz | hsoconnect-1.2.19.tar.gz ]

Extract, and install!

wget http://files.loclhst.com/eee/hsolink-1.0.118.tar.gz
tar xzvf hsolink-1.0.118.tar.gz
cd hsolink-1.0.118
./configure
make && make install
chmod +s `which hsolinkcontrol`

wget http://files.loclhst.com/eee/hsoconnect-1.2.19.tar.gz
cd hsoconnect-1.2.19
make install

Now, when you plug in the Quicksilver, the system should not lock up, and if you go to Applications>Internet>HSOconnect 1.2, you should get an application to connect.

Next, you need to configure the username/password. The list of common usernames/passwords can be found here.

Within HSOconnect, click on Profile>Edit Connection, and change the values as needed.  For ATT/Cingular, the common will be:

APN: ISP.CINGULAR
Username: USPDA@CINGULARGPRA.COM
Password: Cingular1

Now try and connect, if all goes well, you should be online with your ATT Quicksilver USB device!


Now the drawbacks:

– NetworkMananger does not see the interface, so you cannot use the build in vpn/network settings (I use the vpnc client manually in this case)

– tsclient does not seem to think there is a network connection, so instead I have been using rdesktop manually.

– The connection seems to be very picky.  I am am in the Red bars (1-2 bars) I cant seem to do much other then chat and web browse.

– SSH takes a long time to connect, even at full strength

If I find any fixes or better workarounds, I will post them, in the mean time, this should keep those who need internet access online for long enough time to work, or whatever it is you kids do these days on the interwebs.

3 Comments :, , , , , , , more...

moving servers ftl

by on Sep.16, 2009, under Computers, Linux

drdelaney@ganondorf ~ $ uptime
20:28:35 up  1:14,  1 user,  load average: 0.01, 0.03, 0.08

=(

Comments Off on moving servers ftl :, , more...

One Year!

by on Sep.15, 2009, under Computers, Linux

Its real this time!  one year!

top – 15:05:05 up 367 days, 20:27,  4 users,  load average: 0.00, 0.00, 0.00

Comments Off on One Year! more...

eeePC Touchscreen!

by on Jul.18, 2009, under Computers, fun, Linux, Mobile

So as some of you may know already, I bought an eeePC, for fun and to mess around with.  Well my latest fun with it was adding a touchscreen, and adding internal bluetooth!

Well, I purchased the Hoda Technology 8.9″ Solderless Easy and Fun TouchKit Touch Screen Kit, which came with a touchscreen, the controller board (with added USB hub) and the wires to connect it solderlessly to a internal USB header (I had one as I do not have a built-in cam, though even if you do, you can still use this!)

— The following pictures and more are available in my gallery —

Below is a quick guide on what I did to add in the touchscreen:

Included parts in the touchscreen kit

Here is the contents from the kit, included a dual pen/stylus!

Netbook taken apart Netbook taken apart

First I took apart my machine following the many guides to make sure I did not break anything I shouldn’t.

Finding a smooth path for wires

Next I tried to find the best path for the wires to go, without making new holes or pinching the wires.

JST SR04 and JST SR05 Connectors JST SR Jack removed Correct pinout for JST SR04 Connection

Whoops, the included wire to go from the controller to the motherboard is too short for where I am placing the controller.  Time to make a mod to the mod!  I had to very carefully take apart the JST SR04 jack and swap it with a longer wire.  Good thing they provided all the needed parts. Note the correct pin layout to make sure its recognized (the included cable had the pinout backwards!)

USR bluetooth adapter

Next, the bluetooth adapter.  The kit also had two JST SR05 to USB connector. After removing the plastic housing to my already small bluetooth adapter, I could easily fit it inside the case. Now I have all 3 external USB adapters free again, and nothing to forget or lose. Now I can tether to my cell and still look cool!

Touchscreen Controller and USB Hub

A Better view of the touchscreen controller.

Touchscreen

Fitting the touchscreen.  This was a PITA to get correctly centered, but I got it eventually.

Turn Camera on in BIOS Linux dmesg

After putting everything back togeather, I had to first turn the “camera” port on in the BIOS, then Fedora recognized the controller and USB devices on boot!

Now, even though I am running Fedora 11, which has support for just about every product under the sun, I still had to install drivers for the controllers, which was easier done then said.

First, I had to make a generic Xorg config, as Fedora does not make one now (its made on the fly)

[root@localhost ~]# Xorg -configure :1
~~ some output from Xorg ~~
Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'
[root@localhost ~]# mv xorg.conf.new /etc/X11/xorg.conf 

Second I had to download and install the latest (2.06.2905 [beta]) drivers from the website [Local Copy of Drivers].

Then extract, and run the setup utility:

[root@localhost ~]# cd /tmp/
[root@localhost tmp]# tar xzvf ~drdelaney/Download/eGalaxTouch-2.06.2905-32b-k26.tar.gz
eGalaxTouch32/
eGalaxTouch32/readme
eGalaxTouch32/Guide/
eGalaxTouch32/Guide/How to rebuild kernel.pdf
eGalaxTouch32/Guide/How to build module.pdf
eGalaxTouch32/Guide/Driver Guide.pdf
eGalaxTouch32/eGalaxTouch.tar.gz
eGalaxTouch32/eula.pdf
eGalaxTouch32/setup.sh
[root@localhost tmp]# cd eGalaxTouch32/
[root@localhost eGalaxTouch32]# sh ./setup.sh 

(*) Linux driver installer for eGalax Touch controller 

(I) Check user permission: root, you are the supervisor.
(I) Begin to setup the eGalax Touch driver.
(I) Found and removed previous eGalax Touch driver.
(I) Extract eGalax Touch driver archive to /usr/local/eGalaxTouch32.
(I) Create eGalaxTouch utility shortcut in /usr/bin.
(I) Create TKCal tool shortcut in /usr/bin.
(I) Check X window version: 1.6.x
(I) Copy X module: x16/egalax_drv.so to /usr/lib/xorg/modules/input.

(Q) Which interface controller do you use?
(I) [1] RS232 [2] PS/2 [3] USB : 3
(I) Using interface: USB
(I) Found a HID compliant touch controller.

(I) Found X configuration file: /etc/X11/xorg.conf.
(I) Removed touch configuration from /etc/X11/xorg.conf.
(I) Add touch configuration into /etc/X11/xorg.conf.

(I) Please reboot the system for some changes to take effect.
(I) After booting, type "eGalaxTouch" to do calibration.

eGalaxTouch Utility

After rebooting,  running eGalaxTouch, and calibrating, I had full touchscreen support!

Comments Off on eeePC Touchscreen! more...

touch my eee

by on Jul.14, 2009, under Computers, Linux, Mobile

Coming soon, a touchscreen for my eeePC!  http://spedr.com/5h0ci

Comments Off on touch my eee more...

Renaming files in CVS – and keeping the history

by on May.31, 2009, under Code, Computers, CVS, Linux

So I am working on a personal project, and decided to rename the file.  Now, I know from experiance that you cannot rename a file in cvs, and keep its commit history, but I decided to see if someone found a way.  Well, someone did, partially… http://www.eyrie.org/~eagle/notes/cvs/renaming-files.html

He shows the way I used to do it, mv local file, cvs delete old file, cvs add new file, commit changes. – This deletes the cvs commit history

He also mentions about modifying the raw RCS file and renaming that, but apparently, cvs doesnt like that since cvs itself isnt aware of any changes.

So I tried a mixture of them, heres my process:

  • Find the raw RCS file:  cat CVS/Root CVS/Repository – in my case, /cvs/projects
  • Copy that file somewhere: cp /cvs/projects/currentfile.sh,v /tmp
  • Rename the file in the current checked out sources:  mv currentfile.sh newfile.sh
  • Delete, Re-add, and commit changes: cvs delete currentfile.sh; cvs add newfile.sh; cvs commit currentfile.sh newfile.sh
  • Move the Attic’ed file from cvs: mv /cvs/projects/Attic/currentfile.sh,v /tmp/ currentfikle.sh,v-Attic
  • Copy the old RCS file to the new name: cp /tmp/currentfile.sh,v /cvs/projects/newfile.sh,v
  • Re-cvs up: cvs up

Now you have a renamed file in CVS, that CVS is aware of, and keeping your old history!

Please comment if you find this helpful or if you have any other information to add!

1 Comment :, , , more...

VMWare ESXi, Linux, and Sub Interfaces

by on Apr.13, 2009, under Computers, Linux, Work

So I thought it was time to add something useful again to my blog.

Working with something for work, I had to configure a FC4 box with multiple IPs on different subnets, binding them to a sub nterface (eth0:1, eth0:2 and so on)

When we first got everythng on, only the primary IP address were working (bound to eth0 and eth1).  All other interfaces were resolving to the physical ESXi servers MAC address on the switch, which is no good.  After looking around, I found out there wasn’t support for this, everyone was saying to configure a Brige, or NAT everything through the local machine, which would NOT work out in our situation.

So after thinking a bit, I remembered the other issue we had with older OpenBSD 3.8 machines and the native VIC driver which was making the machines randomly crash reporting an unsupported mode.  Well the resolution for that was to shut down the guest, and add in ethernet0.VirtualDev = “e1000” and ethernet1.VirtualDev = “e1000” to the guest-name.vmx file.  So I figured I would try this on the Fc4 machine too, figuring I couldn’t lose anything.  Well, I didn’t lose anything, but I gained a working ssystem, with sub-interfaces!

So for all of those out there with weird networing issues on an ESXi (ESX as well) guests, try changing the network emulation from built-in VIC to intel e1000!

Comments Off on VMWare ESXi, Linux, and Sub Interfaces :, , , , , , more...

Kernel Lock outs?

by on Dec.22, 2008, under Computers, Linux

So I am sitting here, upgrading my servers (mostly gentoo) and on the world (full system) update, its telling me it wants to install a different version of the kernel.

Let me jump back for a second.  Gentoo has very good customizations on what you can do, and for instance, I originally installed the gentoo-sources-2.6.26-r1 on one of my servers, and told it not to upgrade anything newer.  Everythings been going fine, until today, when its like “oh, you can install 2.6.25-r9!”  But wait, thats a downgrade.  So I tell Gentoo not to install anything older then 2.6.26-r1, and then it complains.  “!!! Ebuilds for the following packages are either all masked or don’t exist: sys-kernel/gentoo-sources.”  Well, whatever.  So I undid those changes, and decide to remove “gentoo-sources” from the world file, which basically says that its installed.  So now it works as intended.  But if I go to install an application dependant on the kernel source, then it will try to re-emerge them.  So I told the system that I’ve provided the software and specific version, which is basically saying “pretend its installed.”   And it still works.  So WTF

Long story short, if you use Gentoo, and its wanting to upgrade or downgrade the kernel, try removing gentoo-sources fromthe world file, but adding the exact version to the portage/packages.mask and portage/profile/packages.provided.

As a side note, on Fedora/Redhat/CentOS/YUM based systems, add a line stating “exclude=kernel*” to the /etc/yum.conf file (or the .repo files) and it will lock out kernel upgrades on those systems.

Comments Off on Kernel Lock outs? : more...

SSH Tab completion!

by on Nov.29, 2008, under Computers, Linux

So I was using stuble upon and I found a cool one.  Adding tab completion to SSH/SCP!

The original code is at http://drawohara.com/post/6584031/life-changing-shell-function

But I propose a slightly different egrep line, which helps me at work (as our hostnames have numbers in them)

Basically, edit your .bash_profile or .bashrc files ( I prefer .bash_profile ), and add in the following lines:

SSH_COMPLETE=( $(cat ~/.ssh/known_hosts | \
sed -e 's/ .*//g' -e 's/,.*//g' | \
uniq | egrep -v "^([0-9]{1,3}.){4}$") )
complete -o default -W "${SSH_COMPLETE[*]}" ssh
complete -o default -W "${SSH_COMPLETE[*]}" scp

Once added, type source ~/.bash_profile (or ~/.bashrc)

This will parse the ~/.ssh/known_hosts file on login, and find any hostnames (but not IPs) and store them in a temporary variable.  This variable is parsed to add tab completion to the ssh and scp commands.

To use, type ssh dan-[tab] and it will auto complete the domain (if it was previously listed in the known_hosts file!)

Comments Off on SSH Tab completion! :, , , , , more...

VMware Dual booting?

by on Nov.16, 2008, under Computers, Linux

So, there is this interesting youtube video which explains how to use VMware Workstation to boot a Dual boot system into a virtual machine.

For those who are unaware, Dual booting allows you to boot either Windows or Linux.  You have to choose one or the other when you turn the system on.

With this setup, you can boot linux (my preferred OS) and use VMware, software used to emulate hardware of a computer, to run your Windows install just like you booted it normally.

Though you don’t get full functionality out of it, you get the basics, which allows me to do what I would normally do in windows (download and play games).

Also, while working with this, I ran into a problem with the current kernel in Fedora 9 (2.6.27.5-37.fc9.i686) and VMware Server 1.0.8.  I had to use the vmware-update-2.6.27-5.5.7-2.tar.gz file from this post to get the drivers to compile.  Though I did not get the Perl API libraries installed (I think its related to the drivers update, I did not look into it further yet), everything seems to be working fine.

1 Comment :, , , , , more...

Geek Code

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-(+) s:+ a C++ BL++++ P++>+++ L++(+++) E--- W++ N o K- w O M V-- PS
PE Y+ PGP+ t+ 5 X+ R tv b DI D+ G e+ h+ r-- y+
------END GEEK CODE BLOCK------

Linux Counter

Certifications


 

PSN Portable ID

Powered by

Hacker
 
Powered by Gentoo Linux