Go Back   Android Forums > Android Community > The Lounge > Computers & IT

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree2Likes
  • 1 Post By mikedt
  • 1 Post By 350X

test: Reply
 
LinkBack Thread Tools
Old August 26th, 2012, 05:52 PM   #1 (permalink)
AF Contributor
Thread Author (OP)
 
AndyOpie150's Avatar
 
Join Date: May 2011
Location: Florida
Posts: 5,469
 
Device(s): LG Optimus V/Bean_Whiz-CM10v2.2.2CX ROM
Carrier: Not Provided

Thanks: 2,030
Thanked 1,491 Times in 1,142 Posts
Default Ubuntu and Linksys wireless adpater= No WiFi

I have a 2003 SONY VAIO desktop PC which know has a shade over 1GB of RAM (PC-2700 DDR).
I have Windows XP with service pack 3 on 57GB of the hard drive, Ubuntu on 47GB.

I also have Plop Boot Manager.

In order to get Ubuntu on my Desktop I had to install another utility program that put the Ubuntu software onto my USB drive in such a manner as to allow me to install Ubuntu just like doing it from a CD, only from my USB drive (Ubuntu 12.04 is 711mb and my CD was only 702mb).

I need to install the ndiswrapper-common, the ndiswrapper-utils, and the mdisgtk to allow me to use the Lynksys WPC54G v2 notebook adapter to establish a WiFi connection on my desktop (can't connect to wired internet at all).

Here is where my problem comes in: I have no internet connection in the Ubuntu distro.
After installing the ndiswrapper-common with no problems I got an error trying to install the ndiswrapper-utils. Tracked it down to needing the python 2.7 which is included in all Ubuntu builds.

Question: What do I need to do to allow access to all the dependecies for the ndiswrapper-common and the mdisgtk so I can complete the process and continue on with allowing the drivers for the wireless adapter to be installed?

Note: Somewhat new to Ubuntu: I had version 10 on a laptop for a few months 2 years ago, but it crashed my WiFi constantly (found out later it was the wrong version for my processor).

EDIT: Moved everything from USB drive to home page. Opened up Terminal and typed in:
sudo apt-get build-dep ndiswrapper-utils-1.9_1.57-1ubuntu1_i386
Got an E: You must put some some "source" URI's in your.list

AndyOpie150 is offline  
Last edited by AndyOpie150; August 26th, 2012 at 08:59 PM.
Reply With Quote
sponsored links
Old August 27th, 2012, 05:49 AM   #2 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

I don't know the answer. You can't apt-get install without an internet connection. Why no wired connection?
SUroot is offline  
Reply With Quote
Old August 27th, 2012, 01:06 PM   #3 (permalink)
AF Contributor
Thread Author (OP)
 
AndyOpie150's Avatar
 
Join Date: May 2011
Location: Florida
Posts: 5,469
 
Device(s): LG Optimus V/Bean_Whiz-CM10v2.2.2CX ROM
Carrier: Not Provided

Thanks: 2,030
Thanked 1,491 Times in 1,142 Posts
Default

Partly because I have no experience establishing a wired connection with Ubuntu, plus I would need to drag the Desktop into the living room (rent room in house with other renters where modem and router are centrally located in the living room).

I plug the desktop into a wired connection in the XP OS and all is good.
Windows made me lazy and stupid. I need to break the cycle.

Any info would be greatly appreciated. Need to learn linux somehow, just figured I'd be doing it after I had it all up and runing.
I'm basically not sure how to obtain the info Ubuntu asks for to even allow a wired connection.

The modem has a sticker on the botttom with 4 different MAC address's. One is a USB-MAC which I'm assuming is the proper MAC address for the modem when wired to it. I don't know any of the service provider info as I didn't establish the service (rent room in house that is owned by an outside investor)
AndyOpie150 is offline  
Last edited by AndyOpie150; August 27th, 2012 at 01:26 PM.
Reply With Quote
Old August 27th, 2012, 02:01 PM   #4 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,762 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

I have never used a wired connection with linux either, but I'd image that it's pretty simple... and if you need to do any configuration, it'd be something like supplying the IP address and subnet mask. Maybe the gateway... but I'd assume that your router/modem are handling the IP addressing with DHCP.

You could download the required sources for the wireless drive from windows, by going to the Ubuntu packages page and searching for your version of ubuntu and getting the ndiswrapper files and dependencies. Then you'd install them with dpkg.

Also, may I recommend you try out VirtualBox or VMWare player. They are virtualization software that'll allow you to install a virtual instance of Ubuntu and use the windows internet connection passed to the virtual instance. That might not be 100% practical depending on your system specs....

Best of luck!
9to5cynic is offline  
Reply With Quote
Old August 27th, 2012, 05:51 PM   #5 (permalink)
AF Contributor
Thread Author (OP)
 
AndyOpie150's Avatar
 
Join Date: May 2011
Location: Florida
Posts: 5,469
 
Device(s): LG Optimus V/Bean_Whiz-CM10v2.2.2CX ROM
Carrier: Not Provided

Thanks: 2,030
Thanked 1,491 Times in 1,142 Posts
Default

I have an app on my phone that can get the subnetmask and gateway, but I'm not sure if this is for the router, or the modem. I guess I'm going to have to buy a wired connection for the router to PC connection.

I do have the Linksys WPC54G wireless adapter driver, got it before I did a disk wipe just before the Ubuntu install (wanted a fairly clean hard disk to partition for the dual boot). Extracted the LSTINDS.inf already and put it into the HOME folder.
The python 2.7 is included in every Ubuntu since...?
In order to download the python 2.7 and use it I must download 8 other dependecies. Then some of those have dependencies, etc., etc.
There has got to be a better way if you don't have a connection.

Good thing I went dual boot until I get everything figured out, at least I still have a connection on the XP OS.

I don't know why they didn't address this issue in this new version. They have known about it for a long time.
Not very newb friendly to start.

I also noticed that the images on some of the icons in the task bar on Ubuntu have disappered. Hope they come back once I get these dependencies installed.

I really like Ubuntu, but so far it seems that Ubuntu doesn't like my WiFi.

Guess I'll just have to install every dependencie one at a time.
Some one needs to make a package that can be installed right after the ndiswrapper-common that has the rest of the dependencies to allow the ndiswrapper-utils and the mdisgtk to be installed. This is just crazy. Two days just to get a WiFi connection and still not a break in site.
I've heard of learning things the hard way, but WOW!

Sorry for that rant. Thanks for you suggestions.
AndyOpie150 is offline  
Reply With Quote
Old August 27th, 2012, 08:45 PM   #6 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,762 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

I hear ya on installing dependencies manually. I'm on dial up, and none of my linux installs have a modem to connect to (or linux support) so I'm on XP downloading my dependencies. It's a pain, but do able.

Python should be installed. I installed ndiswrapper for a usb wifi adapter that I was messing around with (creating a small wireless network for file shares) and it went into Ubuntu 10.10 Server edition ... and it was pretty straight forward. I don't think I have the link anymore, but I want to say it was on the ubuntu website.

If you look into the virtual instance with the above mentioned software, you'll be able to copy the files that you install (w/ apt-get) and paste them over to the physical install via a flash drive. Then you'll have to install them with dpkg.






Hope that helps!
9to5cynic is offline  
Reply With Quote
The Following User Says Thank You to 9to5cynic For This Useful Post:
AndyOpie150 (August 28th, 2012)
Old August 27th, 2012, 09:17 PM   #7 (permalink)
Senior Member
 
350X's Avatar
 
Join Date: Jan 2012
Location: NWOhio
Posts: 1,266
 
Device(s): 3X LG Optimus V Rooted - Eken T02A Tablet - KindleFire - Ramos W17PRO Tablet
Carrier: Not Provided

Thanks: 50
Thanked 93 Times in 84 Posts
Default

Why I have never gone far with linux, every time I hear how its improved or so new "easy" installer, Ive never gotten it online. From com port modems, win modems, usb modems...

It does it job well on the back end of things, but don't look at the little penguin behind the curtain.... Just tape your Rubyred slippers 3 times and wish for free Windows on your home PC.
__________________
Ramos W17PRO Dual Core Cortex A9 1.5Ghz 1GB DDR3 ICS 4.0.3 Tablet > FLsuperstore.com - KindleFire -
LG Optimus V rooted Fryo 2.2.2 - 2 LG Optimus V Rooted Fryo 2.2.2 WiFi Only Phones -
Eken T02A Allwin A10 Tablet Gingerbread 2.3.4 >FLsuperstore.com -My Apps -free app hosting, PM me.
350X is offline  
Reply With Quote
Old August 28th, 2012, 10:59 AM   #8 (permalink)
AF Contributor
Thread Author (OP)
 
AndyOpie150's Avatar
 
Join Date: May 2011
Location: Florida
Posts: 5,469
 
Device(s): LG Optimus V/Bean_Whiz-CM10v2.2.2CX ROM
Carrier: Not Provided

Thanks: 2,030
Thanked 1,491 Times in 1,142 Posts
Default

Managed to get all the dependencie's installed and got the four (I added the ndiswrapper-dkms) packages installed.
Got the LSTINDS.INF installed, then ran "sudo depmod -a. Can't figure out how to install the Realtek RTL8139 Ethernet controller driver. Got the driver from Realteks site. Tried a few things but haven't found an diffinitive answer yet.

lispci: list the drivers
rfkill list all: does nothing
cat /etc/network/interfaces: auto lo l iface to inet loopback
iwlst scan: interface doesn't support scanning
iwlst auth: no authentication information
apt-get: command not found
jockey-gtk: tries, but can't connect to network so it fails
sudo depmode -a: seemed to have built the modules for driver


Question: Where is the big l on the keyboard for the commands:
lsmod l grep vt
dmesg l grep vt
AndyOpie150 is offline  
Last edited by AndyOpie150; August 28th, 2012 at 11:02 AM.
Reply With Quote
Old September 9th, 2012, 01:36 PM   #9 (permalink)
AF Contributor
Thread Author (OP)
 
AndyOpie150's Avatar
 
Join Date: May 2011
Location: Florida
Posts: 5,469
 
Device(s): LG Optimus V/Bean_Whiz-CM10v2.2.2CX ROM
Carrier: Not Provided

Thanks: 2,030
Thanked 1,491 Times in 1,142 Posts
Default

UPDATE:
Figured out where the | key was at ( I purchased a new key board and the paint was all messed up just on that key)
Finally got Ubuntu 12.04 installed properly with the WiFi working.
It blow's Windows out of the water. It much like having rooted and open sourced android OS on the computer, only way better and with a much better look and feel. Way more customization as well.
If you want something about it to act or look differently, someone has already thought it out and made it possible.
It's way better for developing as well.
AndyOpie150 is offline  
Reply With Quote
Old September 9th, 2012, 08:07 PM   #10 (permalink)
Senior Member
 
350X's Avatar
 
Join Date: Jan 2012
Location: NWOhio
Posts: 1,266
 
Device(s): 3X LG Optimus V Rooted - Eken T02A Tablet - KindleFire - Ramos W17PRO Tablet
Carrier: Not Provided

Thanks: 50
Thanked 93 Times in 84 Posts
Default

all the SDKs n dev programs have a linux version to run on it?
350X is offline  
Reply With Quote
sponsored links
Old September 10th, 2012, 07:34 AM   #11 (permalink)
AF Contributor
Thread Author (OP)
 
AndyOpie150's Avatar
 
Join Date: May 2011
Location: Florida
Posts: 5,469
 
Device(s): LG Optimus V/Bean_Whiz-CM10v2.2.2CX ROM
Carrier: Not Provided

Thanks: 2,030
Thanked 1,491 Times in 1,142 Posts
Default

I'm just learning what all you can do with Kubuntu, Lubuntu, Ubuntu, and Xubuntu (there all off the same fork just different front ends and other tweaks).
From what I've seen most developers would rather use Linux Distros.
Yes the Android SDK with ADB and Java as well as OCaml, Perl, Python, Ruby, Lisp, Haskell ,Mono/CLi and a host of IDEs can all be used (just to mention a few).

If your used to navigating around in you android phones system files and giving shell commands from a terminal Emulator, then you will find Ubuntu is set up very similar. Just way better. Hard to explain from a new user point of view.

I'm going to keep Windows on the other half of my Disk (although though I might shrink the size of the Windows partition down to just what I need for the use of the LG utilities for allowing me to unbrick my phone), but, I can't see needing to use it but once every blue moon. I'm thoroughly enjoying Ubuntu.

Linux distros involve more terminal commands to get things installed or removed. Windows make's you command line lazy.

As I didn't have a wired connection at all I had to do all this to get my wireless working (I have an old Linksys wireless adapter card that's a little smaller in diameter than the LG Optimus V). I had to download the driver package (WPC54G which is the model # of my card) from Sisco/Linksys web site. Then I downloaded all these packages from the Ubuntu site in the Windows OS:
ndiswrapper-common
ndiswrapper-utils
libglade2
python-glade2
ndisgtk
dkms
ndiswrapper-dkms.
I typed in the name of these packages in the search bar and added precise (the name of Ubuntu 12.04) to the end.
Once everything was downloaded I placed on a USB drive and booted into my Ubuntu distro.
There I copied everything over to the home folder (right click on the file and selected that option).
extracted the actual driver folder and renamed to Drivers.
Opened up a terminal and typed in:
sudo dpkg -i (the full name of the package).
I did this for every package in the order I put them in (these must be installed no matter what wireless card you have).
Once finished I then installed the Driver by going into the folder and finding the name of the proper .INF file (in my case it was the LSTINDS.INF). I then typed in:
sudo ndiswrapper -i drivers/LSTINDS.INF
sudo modprobe ndiswrapper
sudo su
echo ndiswrapper >> /etc/modules
exit
After a reboot I just had to finish by imputing the proper key for my network.

Note: Some drivers need to be installed a little differently and older cards may not be able to have anything other than WEP security, but all the precise packages mentioned above need to be installed.
AndyOpie150 is offline  
Last edited by AndyOpie150; September 10th, 2012 at 08:06 AM.
Reply With Quote
Old October 2nd, 2012, 07:28 PM   #12 (permalink)
Resident Linux Nutcase
 
Prinny's Avatar
 
Join Date: Apr 2012
Location: Greenville, SC
Gender: Male
Posts: 3,479
 
Device(s): Samsung Galaxy Note LTE
Carrier: T-Mobile

Thanks: 653
Thanked 1,037 Times in 721 Posts
Default

Here's a question, sorry to bump a dated thread...

But who makes your WiFi card in your computer?

Is it Linksys, or is that your router?

lspci -v would show that.

If its broadcom, they are really well known for Linux support. They even have a tutorial on their website on compiling the driver from source. Which is actually really easy...I've done it about 20 times now...
Prinny is offline  
Reply With Quote
Old October 6th, 2012, 05:10 AM   #13 (permalink)
你好
 
mikedt's Avatar
 
Join Date: Sep 2010
Location: Xilinhot, China 中国锡林浩特
Posts: 8,621
 
Device(s): Samsung Galaxy Win Duos, Lenovo P700i
Carrier: China Mobile, China Unicom.

Thanks: 2,933
Thanked 2,486 Times in 1,780 Posts
Send a message via Skype™ to mikedt
Default

Quote:
Originally Posted by 350X View Post
Why I have never gone far with linux, every time I hear how its improved or so new "easy" installer, Ive never gotten it online. From com port modems, win modems, usb modems...
Actually win modems have always been a bit of a problem for Linux. That's why they're called win modems, the "win" stands for Windows. Basically a very cheap way of making a modem, that relies on the host CPU rather than the modem itself to do the work. Com port modems shouldn't be a problem though, just use PPPconfig to get you connected. Although those are very legacy things these days.

Mind you if you're talking about dial-up modems, probably a long time since you've used Linux, isn't it?

These days when it comes to USB 3G modems, I find Linux is easier to get online than Windows. There's nothing to install with Linux, USB 3G modems work straight away I've found. And I've never had any problems getting online Ethernet or WiFi either, found Ubuntu or Mint works straight away.

Quote:
Originally Posted by 350X View Post
It does it job well on the back end of things, but don't look at the little penguin behind the curtain.... Just tape your Rubyred slippers 3 times and wish for free Windows on your home PC.
BTW Windows is not free(as in free speech or free beer), you paid a license fee to Microsoft when you bought your PC. It's included in the price of the PC. That's what the Windows license sticker is for, to tell you that the license fee is paid and your copy of Windows is legal.
9to5cynic likes this.
__________________
The People's Guide to Android in the People's Republic.
Honorary Grand Poobah Shenzhen University English Corner.
http://welcometomychina.tumblr.com/
There are nine million bicycles in Beijing.
There are nine million Androids in Shenzhen.
mikedt is online now  
Last edited by mikedt; October 6th, 2012 at 05:19 AM.
Reply With Quote
Old October 6th, 2012, 05:36 AM   #14 (permalink)
Senior Member
 
350X's Avatar
 
Join Date: Jan 2012
Location: NWOhio
Posts: 1,266
 
Device(s): 3X LG Optimus V Rooted - Eken T02A Tablet - KindleFire - Ramos W17PRO Tablet
Carrier: Not Provided

Thanks: 50
Thanked 93 Times in 84 Posts
Default

No I still have and use a com port external dial up modem, that is the kind I always used, when I need a new one, I search ebay till I find the old NOS one I like but have tried other cheap modems too but never got online with linux, probably could very easily now with wifi tethering. [ I live in a no high speed zone. I tether for better speed now though]

from 95-98se my dad gave me copies [he repaired PCs], windows ME MS gave to me for free [was a beta tester for ME, I got 999 beta's, by time I got one downloaded on dialup, another was out] now I did pay $100 for the windows 2000 dev kit, but the kit retailed for over $10,000 if you bought it all in the store.

And yes if you ask, im on windows 2000 pro SP4 right now, using opera 6.01 to post this, ill check my email using netscape 4.76 mail client, then fire up app inventor and work on my android apps in the latest FireFox.

internet security, through obscurity
Security through obscurity - Wikipedia, the free encyclopedia
mikedt likes this.
350X is offline  
Reply With Quote
The Following User Says Thank You to 350X For This Useful Post:
mikedt (October 6th, 2012)
Reply


Go Back   Android Forums > Android Community > The Lounge > Computers & IT
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:17 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.