LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-27-2007, 06:15 AM   #31
sou.1234321
Member
 
Registered: Sep 2007
Posts: 42

Original Poster
Rep: Reputation: 15
Question


Yes you are crrect. my sound card is not detected!

Is there any way? Please help...

Dear Friends, my internet connection is not at all consistent! It's working for 3/4 minutes then again no connection then again staying for 3/4 minutes then again going away...!

Is there any tuning, that I can do?

All the updates I am trying to do is showing failure due to inconsistent network!!!

I am sure that there is no problem with the provider/modem.

Please help...

Last edited by sou.1234321; 09-27-2007 at 07:08 AM.
 
Old 09-27-2007, 07:45 AM   #32
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Not sure about your Internet access, but start a new thread about your sound card. It's better to put unrelated issues in separate threads.
 
Old 09-27-2007, 07:56 AM   #33
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
Run the lsmod command, and post your output.

BTW, In one of your post, you said you had two sound cards. An onboard Realtek soundcard and a third party sonundcard. The Realtek soundcard
is a recognize soundcard by the linux kernel. If you disable the onboard
soundcard from your bios, the kernel would not load the module. Some people do this when they get a better soundcard.


As root, run alsaconf

THis command will probe for any soundcards you have and load the modules. If successful, go to next step


Run alsamixer. By default all channels are muted. Select the channel you want to enable by using the left/right arrow keys, press the letter m, this will unmute the channel. Next use the up/down arrow keys to adjust volume. When finished, press the Esc key.

Next, run alsactl store

this will store your alsa settings.

Last edited by dv502; 09-27-2007 at 08:09 AM.
 
Old 09-27-2007, 09:16 AM   #34
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
Quote:
Originally Posted by sou.1234321 View Post

Dear Friends, my internet connection is not at all consistent! It's working for 3/4 minutes then again no connection then again staying for 3/4 minutes then again going away...!

Is there any tuning, that I can do?

All the updates I am trying to do is showing failure due to inconsistent network!!!

I am sure that there is no problem with the provider/modem.

Please help...
Run this as root, and post the output you get
Code:
cat /var/log/kernel.log | grep eth0

Last edited by dv502; 09-27-2007 at 09:42 AM.
 
Old 09-27-2007, 10:54 PM   #35
sou.1234321
Member
 
Registered: Sep 2007
Posts: 42

Original Poster
Rep: Reputation: 15
Dear dv502, Please find the output:

1. After issuing lsmod command:


Module Size Used by
ipt_TCPMSS 4992 1
xt_tcpmss 3200 1
xt_tcpudp 4224 1
iptable_mangle 3712 1
ip_tables 13796 1 iptable_mangle
x_tables 16388 4 ipt_TCPMSS,xt_tcpmss,xt_tcpudp,ip_tables
pppoe 15424 4
pppox 4488 1 pppoe
ppp_generic 29076 10 pppoe,pppox
slhc 7680 1 ppp_generic
atl2 33304 0
ipv6 268704 16
binfmt_misc 12680 1
rfcomm 40856 0
l2cap 25728 5 rfcomm
bluetooth 55908 4 rfcomm,l2cap
ppdev 10116 0
speedstep_lib 6148 0
cpufreq_conservative 8200 0
cpufreq_stats 7360 0
cpufreq_userspace 5408 0
cpufreq_powersave 2688 0
cpufreq_ondemand 9228 0
freq_table 5792 2 cpufreq_stats,cpufreq_ondemand
tc1100_wmi 8068 0
pcc_acpi 13184 0
sony_acpi 6284 0
dev_acpi 12292 0
ac 6020 0
video 16388 0
sbs 15652 0
i2c_ec 5888 1 sbs
battery 10756 0
dock 10268 0
asus_acpi 17308 0
button 8720 0
backlight 7040 1 asus_acpi
container 5248 0
af_packet 23816 8
nls_utf8 3072 3
ntfs 107764 3
lp 12452 0
snd_hda_intel 21912 0
snd_hda_codec 205440 1 snd_hda_intel
nvidia 4713780 32
snd_cmipci 37024 1
gameport 16520 1 snd_cmipci
snd_seq_dummy 4740 0
i2c_core 22784 2 i2c_ec,nvidia
snd_seq_oss 32896 0
snd_pcm_oss 44544 0
snd_mixer_oss 17408 1 snd_pcm_oss
snd_seq_midi 9600 0
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 52592 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
psmouse 38920 0
snd_pcm 79876 4 snd_hda_intel,snd_hda_codec,snd_cmipci,snd_pcm_oss
snd_opl3_lib 11520 1 snd_cmipci
snd_timer 23684 3 snd_seq,snd_pcm,snd_opl3_lib
snd_hwdep 9988 1 snd_opl3_lib
snd_mpu401_uart 9472 1 snd_cmipci
snd_rawmidi 25472 2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 9100 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_opl3_lib,snd_rawmidi
intel_agp 25116 1
agpgart 35400 2 nvidia,intel_agp
iTCO_wdt 11812 0
shpchp 34324 0
parport_pc 36388 1
parport 36936 3 ppdev,lp,parport_pc
snd 54020 16 snd_hda_intel,snd_hda_codec,snd_cmipci,snd_seq_oss,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_pcm,snd_opl 3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
pcspkr 4224 0
iTCO_vendor_support 4868 1 iTCO_wdt
serio_raw 7940 0
soundcore 8672 1 snd
snd_page_alloc 10888 2 snd_hda_intel,snd_pcm
pci_hotplug 32576 1 shpchp
evdev 11008 3
tsdev 8768 0
ext3 133128 1
jbd 59816 1 ext3
mbcache 9604 1 ext3
sg 36252 0
sr_mod 17060 0
sd_mod 23428 6
cdrom 37664 1 sr_mod
ata_generic 9092 0
floppy 59524 0
ehci_hcd 34188 0
ata_piix 15492 5
uhci_hcd 25360 0
usbcore 134280 3 ehci_hcd,uhci_hcd
libata 125720 2 ata_generic,ata_piix
scsi_mod 142348 4 sg,sr_mod,sd_mod,libata
generic 5124 0 [permanent]
thermal 14856 0
processor 31048 1 thermal
fan 5636 0
fbcon 42656 0
tileblit 3584 1 fbcon
font 9216 1 fbcon
bitblit 6912 1 fbcon
softcursor 3200 1 bitblit
vesafb 9220 0
capability 5896 0
commoncap 8192 1 capability

2. After issuing sudo alsaconf

sudo: alsaconf: command not found

3. After issuing sudo alsamixer

Some equalizer sort of thing came up. I have unmuted all the options, as per ur advice

4. Then I typed sudo alsactl store

5. (Regarding Internet Connection) I issued sudo cat /var/log/kernel.log | grep eth0 and the output:

cat: /var/log/kernel.log: No such file or directory

I am waiting eagerly for ur next advice...
 
Old 09-27-2007, 11:53 PM   #36
sou.1234321
Member
 
Registered: Sep 2007
Posts: 42

Original Poster
Rep: Reputation: 15
One thing worthy to mention is that:
Every time I boot into UBUNTU, for getting the net connection I have to type at terminal:

sudo insmod /lib/modules/2.6.20-15-generic/kernel/drivers/net/atl2.ko

Why is it so? Is there any other way out???
 
Old 09-28-2007, 12:04 AM   #37
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Under Debian, it seems there's a file in /etc called "modules" where you can add modules to be loaded at boot time. Check if you have the same file (i.e. /etc/modules) and if so, add the module name (i.e. "alt2") to it.
 
Old 09-28-2007, 12:13 AM   #38
sou.1234321
Member
 
Registered: Sep 2007
Posts: 42

Original Poster
Rep: Reputation: 15
Dear Nylex,
there is a folder called "/etc" but no subfolder called modules...
what to do?

Please someone throw light on the output (regarding sound card and internet connection) I have posted above....
 
Old 09-28-2007, 02:03 AM   #39
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
Quote:
Originally Posted by sou.1234321 View Post
Dear Nylex,
there is a folder called "/etc" but no subfolder called modules...
what to do?

Please someone throw light on the output (regarding sound card and internet connection) I have posted above....
The 2.6 kernels now uses the /etc/modprobe.conf file to load additional modules. If you don't have this file, then it would be /etc/modprobe.d which is a directory. As root, edit the /etc/modprobe.conf file and add the command to load the driver.

insmod /lib/modules/2.6.20-15-generic/kernel/drivers/net/atl2.ko

Note: no need for the sudo at the beginning.

Quote:
After issuing sudo alsaconf

sudo: alsaconf: command not found
You should have alsaconf. This is part of the alsa utilities. This command probes for soundcards in your system. You ran alsamixer and alsactl without any errors, the alsaconf should be there. Very odd.


For the networking, can you post the output of these two commands

sudo mii-tools eth0
sudo ifconfig eth0
 
Old 09-28-2007, 03:05 AM   #40
sou.1234321
Member
 
Registered: Sep 2007
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dv502 View Post
For the networking, can you post the output of these two commands

sudo mii-tools eth0
sudo ifconfig eth0
sou1234321@ubuntuDesktop:~$ sudo mii-tools eth0

sudo: mii-tools: command not found

sou1234321@ubuntuDesktop:~$ sudo ifconfig eth0

eth0 Link encap:Ethernet HWaddr 00:1B:FC:64:AA:6B
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21b:fcff:fe64:aa6b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:444 errors:0 dropped:0 overruns:0 frame:0
TX packets:531 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:211500 (206.5 KiB) TX bytes:0 (0.0 b)
Memory:ddec0000-ddf00000
 
Old 09-28-2007, 03:12 AM   #41
sou.1234321
Member
 
Registered: Sep 2007
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dv502 View Post
You should have alsaconf. This is part of the alsa utilities. This command probes for soundcards in your system. You ran alsamixer and alsactl without any errors, the alsaconf should be there. Very odd.
Just let me tell you one thing, there are weird things happening in my UBUNTU!!!

I am serious.

Previously I could hear the booting music of UBUNTU via my speakers but not the ogg songs.
And now, it has been reversed... i.e. no booting sound but ogg songs are audible by the speakers...!!!

Can someone mind to explain, what is happening with my machine? (However, there is no problem with XP, though)
 
Old 09-28-2007, 07:03 AM   #42
sou.1234321
Member
 
Registered: Sep 2007
Posts: 42

Original Poster
Rep: Reputation: 15
Please someone help me out here regarding my unstable net connection...

I have posted the output above, as required by dv502.

Please help....

(P.S: There is no sound at all, currently. Neither during booting nor during hearing ogg songs) :sad:
 
Old 09-28-2007, 08:42 AM   #43
rhaag71
LQ Newbie
 
Registered: Feb 2007
Location: Columbus, Ohio
Distribution: Ubuntu, Puppy, CentOS
Posts: 23

Rep: Reputation: 15
Quote:
Originally Posted by sou.1234321 View Post
One thing worthy to mention is that:
Every time I boot into UBUNTU, for getting the net connection I have to type at terminal:

sudo insmod /lib/modules/2.6.20-15-generic/kernel/drivers/net/atl2.ko

Why is it so? Is there any other way out???
hey, check out this link, ubuntu is already on it.

https://bugs.launchpad.net/ubuntu/+s....22/+bug/77725

I read through the posts, and I am not going to suggest that you try to compile the patch into your kernel right now, that might really scare you off, just kidding (read the post, they encountered issues) but also because 'gusty' is to be released next month (prob. around 19th). Lets make a little script that will (crudely) make loading your driver a tad bit easier for now.

Ok, do this and remember this is a very crude work around for you in hopes that the kernel patch makes it nicely into next months release, then you can just do an upgrade, especially since your NIC is working now

A little typography:
the "$" just means you are at a user promt, don't put it in your terminal...(usually a "#" at the beginning of code example mean your root but sometimes a comment, you'll usually know the difference) You will eventually learn all this stuff, probably quite fast because you are obviously determined.

Code:
$ echo sudo insmod /lib/modules/2.6.20-15-generic/kernel/drivers/net/atl2.ko >> loadnic
$ sudo chmod u+rx loadnic
now, assuming that the 'insmod' command you posted earlier has correct syntax, then all you should have to do is just type "./loadnic", it will prompt you for your password. This beats the crap out of typing the longer version every time. Also note: if you don't like "loadnic" change it to whatever you want, just do it at all 3 parts of these instructions, its just an arbitrary name I just made up.

Let me just remind you that this is actually a "caveman" way of doing this, it is by no means elegant. But, this will get you by for a couple days. Assuming that this works out for you. Of course, knowing myself and the likes, you probably have many minds pondering a solution for you, and may even get a better work-around before the next release of Ubuntu.

Meanwhile, I would like to suggest a reading that is fit for everyone, don't be offended by the title, it is actually really good reading for all, some even should revisit now & again:

http://www.catb.org/~esr/faqs/smart-questions.html


By the Way, right now the /etc/modules.conf is just /etc/modules for feisty, and it's a file not a directory.

I think atl2.ko file needs more that just a listing into the module file. Thats why you have to give it the whole path right now, or you may have to compile into a module and will probably need the kernel headers, etc. etc. I don't want to bombard you with information all at once. PLUS, I'm not a kernel hacker, but I learn new stuff every day. Maybe someone will correct me on this subject.

Hope the others don't laugh at me for such a crude work around...Ill get over it.

Let us know
 
Old 09-28-2007, 09:42 AM   #44
sou.1234321
Member
 
Registered: Sep 2007
Posts: 42

Original Poster
Rep: Reputation: 15
Somebody helped me regarding that like this:

There is a way to make it load automatically when it boots. To do this we change the file /etc/rc.local.



First back the file up through the terminal:





Code:

sudo cp /etc/rc.local /etc/rc.local.bakThen:





Code:

gksudo gedit /etc/rc.localThen insert the following above the last line (which says exit 0):





Code:

insmod /lib/modules/2.6.20-15-generic/kernel/drivers/net/atl2.ko
 
Old 09-29-2007, 01:38 AM   #45
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
Quote:
Originally Posted by sou.1234321 View Post
Please someone help me out here regarding my unstable net connection...

I have posted the output above, as required by dv502.

Please help....

(P.S: There is no sound at all, currently. Neither during booting nor during hearing ogg songs) :sad:
Getting certain hardware(s) that linux doesn't recognized is a bit tricky.
It's obvious that your sound card and your ethernet card has fallen into this category of unsupport devices. Even though you downloaded the module for the network card, you are still having intermittent internet connections. The atl2.ko module is probably the most you'll get out of your Attansic Ethernet Card, until a stable module is created in the future. Getting a supported ethernet card will yield the best results.

As for the soundcards, you said you had an onboard Realtek and a third party soundcard. You need to be more specific about the third party soundcard. I know for a fact, the onboard Realtek should work. Linux, especially the popular distros supports the realtek soundcard quite well.

I asked you to run alsaconf, to configure the soundcard. You said you got an error message, command not found. But you ran alsamixer and alsactl
with no problems. If you got alsamixer and alsactl, you should have alsaconf.

Are the speakers connected to your onboard realtek soundcard or your third party soundcard? Connect the speakers to the onboard realtek card, and run alsaconf, alsamixer and alsactl store as root. Maybe alsaconf might work this time.

From an earlier post, you said the Attansic Ethernet Card is working fine in WinXP. Thats fine for WinXP. If you are going to use linux, you need a good working ethernet card. Right now your card is working partially in the linux environment. You said, you have to manually load the driver and your internet connection is intermittent and sluggish. Having this bad performance can sometimes corrupt large file downloads.

I can't say if the atl2.ko module is causing this connection problem.

But using a supported ethernet card would give you better performance as
these modules been compiled with the kernel or as loadable modules and they load automatically at boot time.

Last edited by dv502; 09-29-2007 at 03:16 AM.
 
  


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
Ethernet card not detected jst4fun Linux - Hardware 7 11-02-2007 03:51 AM
Attansic L1 Ethernet driver for Mandriva 2007 Spring Hoosie Linux - Hardware 3 09-04-2007 04:57 PM
ethernet card SiS 900-Based PCI Fast Ethernet Adapter Not Detected pathan_azhar Linux - Networking 0 08-13-2006 04:15 AM
ethernet card is not detected? sha77 Linux - Networking 17 07-21-2004 02:34 PM
Ethernet Card detected in one kernel is not detected in the other?? ashishuttarwar Linux - Hardware 14 06-15-2004 10:06 PM

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

All times are GMT -5. The time now is 01:04 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