Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
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
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
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
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
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
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.
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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.