LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-30-2009, 04:02 AM   #1
Reventon
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Rep: Reputation: 0
Hardware probs in X64 Ubuntu 9.10


Hello everyone,

My processor supports 64 bit OS, so this time I installed Ubuntu 9.10 64 bit version through WUBI. Everything is fine except that Ubuntu doesnt recognize my Modem(even the router's 192.168.1.1 page doest open).

I also noticed that whenever there is some sound played, it produces a sharp and disturbing hiss from the speakers. My sound card is Creative SB 5.1. Same thing applies for GFX card too. Its not detected, i think coz i cant turn up the visual effects, which i could do earlier...
 
Old 11-30-2009, 04:54 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
What sort of modem is it? Is this machine a laptop? Most "modern" laptop modems are not real modems, but "winmodems", and as far as I know won't work with anything other than windows.

Evo2.
 
Old 11-30-2009, 05:17 AM   #3
Reventon
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Mine is a desktop and the modem is an external ADSL Router, through which i connect to Internet. Currently it is connected through a USB connection.
 
Old 11-30-2009, 06:02 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Ok, so your computer does not have a modem.

What is the output of
Code:
ifconfig -a
and

Code:
lspci | grep Ethernet
and
Code:
cat /etc/network/interfaces

Evo2.
 
Old 12-01-2009, 02:20 AM   #5
Reventon
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
No command 'ipconfig' found, did you mean:
Command 'tpconfig' from package 'tpconfig' (universe)
Command 'iwconfig' from package 'wireless-tools' (main)
Command 'ifconfig' from package 'net-tools' (main)
ipconfig: command not found

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:02.0 Display controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82G33/G31/P35/P31 Express MEI Controller (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IH (ICH9DH) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G94 [GeForce 9600 GT] (rev a1)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface (rev b2)
07:01.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster

All this seems to go over my head, but hope you can help me with it
 
Old 12-01-2009, 02:26 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
*ifconfig* not '*ipconfig*'

Also, I still need to see what is in /etc/network/interfaces. Ie the output of:
Code:
cat /etc/network/interfaces
Quote:
All this seems to go over my head, but hope you can help me with it
Don't worry, if you pay attention you'll be learning with every command you enter :-)
If I ask you to enter a command, it is a good idea to have a quick look at the man page of that command so that you can get some understanding of why you're being asked to run it.

Although in the case above you would do better to look at the "interfaces" man page.

Cheers,

Evo2.

Last edited by evo2; 12-01-2009 at 02:33 AM. Reason: Feedback
 
Old 12-01-2009, 02:39 AM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
I just reread the following:
Quote:
Originally Posted by Reventon View Post
Currently it is connected through a USB connection.
What does this actually mean? You have connected you pc to the router using a usb cable? Can you please elaborate?

Evo2.
 
Old 12-01-2009, 11:08 AM   #8
Reventon
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by evo2 View Post
I just reread the following:


What does this actually mean? You have connected you pc to the router using a usb cable? Can you please elaborate?

Evo2.
Oh Yes, I actually meant that itself. Connected my router using a usb cable.

Well, surely, now onwards i'll be learning more about Ubuntu. I've been for years into windows :P ...and thats the reason I read "ifconfig" as "ipconfig". :P

Anyways, here are the results:

cat /etc/network/interfaces
auto lo
iface lo inet loopback

ifconfig
eth0 Link encap:Ethernet HWaddr 00:1e:a6:01:86:6f
inet6 addr: fe80::21e:a6ff:fe01:866f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:63 dropped:0 overruns:0 frame:63
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1504 (1.5 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)
 
Old 12-03-2009, 02:14 AM   #9
Reventon
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Hey guys, i'm still waiting for your reply. till then i cant use ubuntu. pls help...!
 
Old 12-03-2009, 02:37 AM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Ok, I'll bite. Why are you trying to do networking over usb?
Are you sure router supports this?
Why not connect your computer to the router with an ethernet cable?

Anyway. Networking over usb is possible but a little unusual outside of embeded devices.

You need to check if some modules are loaded into your kernel:
Code:
/sbin/lsmod | egrep 'usbnet|cdc_ether'
If the above command returns nothing you need to load the modules

Code:
sudo modprobe cdc_ether
sudo modprobe usbnet
Now with the usb cable connected between your computer and router enter the following command

Code:
/sbin/ifconfig -a
If all is well you will see entry like:
Code:
usb0      Link encap:Ethernet  HWaddr 6a:d6:f6:97:0a:90  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
If you don't see this entry try disconnecting and reconnecting the cable and issue the command again.

Next step is to configure the device. You may be able to do this with network-manager which may appear as some sort of network icon in your panel/taskbar/systray. However I don't use that sort of thing, instead I would enter the following in the file /etc/network/interfaces

Code:
allow-hotplug usb0
iface usb0 inet dhcp
Then issue the command
Code:
sudo ifup usb0
now please try to test your network:
Code:
ping www.linuxquestions.org
If that fails try
Code:
ping 75.126.162.205

Ok, please try to follow the above steps and report back if (when) something fails.

Cheers,

Evo2.

Last edited by evo2; 12-03-2009 at 02:38 AM. Reason: Full paths incase /sbin is not in OPs path
 
Old 12-04-2009, 02:32 AM   #11
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Are you sure router supports this?
If it didn't it would not have a USB ports.
Quote:
Why not connect your computer to the router with an ethernet cable?
What if the OP's computer has not ethernet cable input?
Quote:
also noticed that whenever there is some sound played, it produces a sharp and disturbing hiss from the speakers.
are the speakers plugged in tight? Is the sound driven in-kernel or a external driver?
 
Old 12-04-2009, 02:55 AM   #12
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by smeezekitty View Post
If it didn't it would not have a USB ports.
The USB port could be for something else. The firmware in the router may not support ethernet over usb.

Quote:
What if the OP's computer has not ethernet cable input?
This is indeed a possibilty... and seems it may be the case for the OPs lspci listing. Although, if there are free pci slots an ethernet card can be obtained for a similar price to a usb cable.

Anyway, waiting to here from the OP.

Cheers,

Evo2.
 
Old 12-05-2009, 07:17 AM   #13
Reventon
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
First of all thanks a ton to both of youfor the reply!

I'd like to tell you, my router's ethernet cable is used by my IPTV(Internet protocol television)set-top-box. So, i am forced to use the alternative(i.e. usb port) for connecting my router to my PC.

Now i'll try the above steps and revert back...

Ok, now everything was going fine until i tried to edit the "interfaces" file. I cant make changes to it. Seems to be some kind of write protection on that file. I am the sole user and hence no other admin is there from whom i may ask access to edit that file, as per evo2's directions.

And yeah, sometimes sound comes proper, but sometimes that same disturbing hiss...have a "creative sb 5.1" PCI sound card.

Last edited by Reventon; 12-05-2009 at 08:25 AM. Reason: reporting back with the tests
 
Old 12-06-2009, 01:23 AM   #14
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Reventon View Post

Ok, now everything was going fine until i tried to edit the "interfaces" file. I cant make changes to it. Seems to be some kind of write protection on that file. I am the sole user and hence no other admin is there from whom i may ask access to edit that file, as per evo2's directions.
You need to be superuser. The way this is done in Ubuntu is with the sudo command. For example to edit the file with the gedit editor

Code:
sudo gedit /etc/network/interfaces
Cheers,

Evo2.
 
Old 12-18-2009, 11:25 AM   #15
Reventon
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
sorry for the late reply

Hey first of all sorry for the late reply evo.

I could run my internet from ubuntu after tinkering with some settings here and there. i was able to connect through lan only.

Anyways, i compromised on that. But now the problem is, my Nvidia 9600GT drivers dont seem to work as it doest show my graphics card in the "hardware drivers" section. Moreover, I am not able to turn on the visual effects for the default Gnome environment.

Can you help???
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No sound - Ubuntu 9.04 (x64) Desktop... janap-146 Ubuntu 9 02-08-2010 11:07 PM
Slackware 13 x64 Hardware Raid Install??? Sphex Slackware 4 11-25-2009 04:09 PM
Hardware Clock, Opensuse 11 x64 usaf_sp SUSE / openSUSE 1 09-17-2008 12:07 AM
can i run linux mandriver x64 with windows x64 bit if so wich one should i install fi malmac2000 Linux - Software 2 04-26-2006 07:04 AM
Install Probs Hardware bax Linux - Software 1 12-31-2001 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration