« first day (1948 days earlier)      last day (3011 days later) » 

12:10 AM
firmware-atheros didn't make it.
also, lspci now doesn't have Qualcomm Atheros.
Only realtek ethenet card is shown.
 
12:35 AM
The issues are draining my sanity.
Anyone, if you have time could you look at my questions and help me get out of the hell.
http://unix.stackexchange.com/questions/260538/i-cant-connect-to-wi-fi-no-wlan0-device-on-iwconfig
http://unix.stackexchange.com/questions/260548/no-sound-from-debian-beside-beeps
I desperately need help and my recognition on languages are keep going down.
 
 
5 hours later…
5:18 AM
@Dinir Ok, firstly, calm down. Nobody is dying here. Second, just a general note. When people ask you for information in comments, add their question and the answer to the question. You can also reply in the comments as well, but the information should be in the question so people don't have to go through the comments looking for it.
Also, you don't need to remove any kernels. They can all coexist.
@Dinir Check that you are using /etc/network/interfaces as opposed to Network Manager. If this is Debian, I suppose it is not using Network Manager by default.
 
 
5 hours later…
10:22 AM
My machine failed booting again.
Gonna install it again.
 
10:34 AM
@Dinir Repeated installations aren't going to help you.
You need to figure out what is wrong and fix it. I thought booting the new kernel had fixed your sound problem. What happened after that?
 
 
1 hour later…
11:55 AM
Hello All, Can I directly post my question here.
 
and I couldn't boot the machine into X server. It failed on both kernel. @Faheem
derobert suggested apt-get install -t jessie-backports xserver-xorg-video-intel and network was also down.
Maybe I can stop repeat install after I figure out what to do with wi-fi, so I can use both computer at once, with one wired, one wireless.
And I don't get why peoples are sometimes stick to comment section. When they only tell things through comments, I can't do but replying them on comment...
 
12:17 PM
I am facing 2 issues in my current ENV 1st issue is with Apache https page not opening on the browser. I have 2 web server primary web server (Live) running without any problem and the secondary web server is giving error Secure Connection Failed The connection to the server was reset while the page was loading
SSL Cert are copied from the primary server with the same location http.conf and ssl.conf is also copied from the primary. Documentroot is also synchronized from primary.
unable to track were the error is and how to resolve it.
0
Q: SSL Secure Connection Failed

Avinash RedyI tried to migrated my Primary Web-Server to my Secondary Web-Server. I have verified every thing which is mentioned below. Both the host are n same version CentOS 6.7 httpd.conf was same as Primary ssl Certificate was coped from the primary Web-Server to the Secondary ssl.conf was same as pr...

 
1:05 PM
@Dinir Why can't you use both computers on wired?
I suggest you pick one thing to fix. Don't try to do both at once.
The wireless should not be hard to fix. But you need to approach things systematically.
 
2
Q: Understanding and setting up different input methods

PandyaI use Trisquel GNU/Linux 7.0 LTS with GNOME 3 Flashback Environment. I heard about three different input methods viz. ibus, xim and uim. And it seems ibus is pre-installed on my system. $ cat trisquel_7.0_i686.iso.manifest | grep ibus gir1.2-ibus-1.0 1.5.5-1ubuntu3 ibus 1.5.5-1ubuntu3 ibus-gtk:...

 
1:22 PM
No spare lan cable.
I searched for little while, and ubuntu users also having difficulties on enabling wifi on this atheros device.
@Faheem
 
@Dinir You mean an ethernet cable? You can easily buy one. They cost next to nothing.
The important thing is to have a router. Do you have DSL or cable internet? Or fibre?
 
I have one so I can make connection with a spare cable.
Eventually I will use this machine mostly outsides my home though.
 
@Dinir I don't follow. Do you have a router?
 
Yes.
 
@Dinir Ok, and you can't hook up both computers to it, because you don't have a second ethernet cable? Or am I misunderstanding you?
 
2:07 PM
Do we have any meta post like: Is distro-recommendation on-topic?
 
Yeah right. I bet I have no enough time or money to get out to grab another cable. @Faheem
I want to try this driver for wi-fi.. cateee.net/lkddb/web-lkddb/ATH10K.html
 
2:28 PM
@Dinir So, I'm understanding you correctly then?
If you don't have an ethernet cable, I strongly recommend you go and get one. Unless your time is of no value.
 
 
2 hours later…
4:05 PM
got a cable.
connected.
 
4:38 PM
@ForeverAlone please join me here so we can debug your issue.
 
@terdon thank you
 
Hi. So, could you paste the exact command you used here?
@ForeverAlone No problem
@ForeverAlone so. what was the exact command?
 
find ${listener_loc}/tracefiles/${listener}.log -exec sh -c '> {}' \;
sorry typo
find ${listener_loc}/tracefiles/${listener_loc}.log -exec sh -c '> {}' \;
this is part of a loop
 
If you add four spaces at the beginning of a line, it is formatted as code in chat too .
 
got it
 
4:46 PM
What OS are you on?
 
MAC EL Capitan
 
Ah, remember to always mention that when asking, the default versions of various utilities (including find) are very different on OSX vs Linux.
Doesn't make a difference here though. Hang on.
The problem is that you're using a file name as a target for find.
Apparently, if you give find something that expands to a file name, it doesn't work. It needs to expand to a directory.
If you use the file name directly, it works as expected.
 
hmm... i used the same find command to gzip a file and it worked
find ${listener_loc}/trace/${listener_loc}.old -exec gzip {} \;
 
And ${listener_loc}/trace/${listener_loc}.old expands to a file, not a directory?
 
it is directed at the file ${listener_loc}.old , it that's what you mean by "expands"
 
4:51 PM
OK. There's something very strange going on.
Argh! Hang on, what exactly does ${listener_loc} expand to?
You will get that error if find can't find the file.
 
listener_loc is a variable that stores the name of a listener
there are multiple listeners in my directory
 
Just add an echo ${listener_loc}/trace/${listener_loc}.old to your loop and show me what it prints.
 
find: `{}/trace/{}.log': Not a directory
{}/trace/{}.old
listener/trace/listener.old
listener_fsprd/trace/listener_fsprd.old
listener_scan1/trace/listener_scan1.old
listener_scan2/trace/listener_scan2.old
listener_scan3/trace/listener_scan3.old
mgmtlsnr/trace/mgmtlsnr.old
every i type vi to edit my file i get this message:
E325: ATTENTION
Found a swap file by the name ".list.sh.swp"
owned by: oracle dated: Mon Feb 8 10:40:09 2016
file name: /u01/app/oracle/scripts/list.sh
modified: YES
user name: oracle host name: dm01dbadm01.schnucks.com
process ID: 57219 (still running)
While opening file "list.sh"
dated: Mon Feb 8 10:54:25 2016
NEWER than swap file!

(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
 
OK. I think I got it. When you give something to find that i) exists; ii) ends with a / and iii) is not a directory it complains that it's not a directory:
$ ls
foo
$ find foo/
find: `foo/': Not a directory
 
but i'm not telling it to find something that ends with a /
 
4:59 PM
So, it looks like one of the values that ${listener_loc} can take is not a directory. Probably.
What does your loop look like?
 
oh wait a minute
in my listener directory that the loop loops through, i have this:
-rw-r--r-- 1 oracle oinstall 1 Feb 8 09:48 {}
i think i accidentally created that
 
That shouldn't affect it. Seriously though, why are you using find? Just show me your loop and I'll give you a find-free version of it.
 
ok hang on
for listener_loc in $(ls -l |awk '{print $9}');
do

#find ${listener_loc}/trace/${listener_loc}.old.gz -mtime +1 -exec rm {} \;
#find ${listener_loc}/trace/${listener_loc}.log -exec cp {} ${listener_loc}/trace/${listener_loc}.old \;
#find ${listener_loc}/trace/${listener_loc}.old -exec gzip {} \;
find ${listener_loc}/trace/${listener_loc}.log -exec cp {} ${listener_loc}/trace/${listener_loc}.txt \;
echo ${listener_loc}/trace/${listener_loc}.old
#echo > ${listener_loc}.log
i need to use all those finds that i commented out
for testing purposes i commented them out
i am trying to do this
cd /u01/app/oracle/diag/tnslsnr/dm01dbadm01/listener_scan2/trace
rm listener_scan2.old.gz
cp listener_scan2.log listener_scan2.old
gzip listener_scan2.old
echo > listener_scan2.log
for each listener
 
Eeek!
 
5:05 PM
What is the ls -l | awk '{print $9}' supposed to do?
Are you trying to get all file names in the directory?
 
yes exactly
it gets the names of all the files in the 9th column in a directory
 
OK, never do that. Parsing ls to get file names is very fragile and can't deal with any kind of complex name (those that have spaces, for example). I suggest you read this. In any case, there is absolutely no reason to use -ls - if all you want is the name, just use ls alone.
The Right Way® is to use shell globbing: for file in *; do ... done
 
ok, thanks for the link
 
So, the corresponding files are all in /u01/app/oracle/diag/tnslsnr/dm01dbadm01/listener_scan2/trace?
 
they are in /u01/app/oracle/diag/tnslsnr/dm01dbadm01/
 
5:11 PM
OK, I think you're looking for this:
for listener in *
do
		rm /u01/app/oracle/diag/tnslsnr/dm01dbadm01/"$listener"/trace/"$listener".old.gz
		cp /u01/app/oracle/diag/tnslsnr/dm01dbadm01/"$listener"/trace/"$listener".log /u01/app/oracle/diag/tnslsnr/dm01dbadm01/"$listener"/trace/"$listener".old
		gzip /u01/app/oracle/diag/tnslsnr/dm01dbadm01/"$listener"/trace/"$listener".old
		> /u01/app/oracle/diag/tnslsnr/dm01dbadm01/"$listener"/trace/"$listener".log
done
Note that i) you don't need to cd anywhere, you can just use the full path and ii) you don't want echo > file, that will write an empty line into it. You just want > file alone.
 
ok
i will try that out, and will give you the correct answer on my question
 
@ForeverAlone Well, your question isn't about this at all. The correct answer to your question is what Hauke and I told you: use a space before the \;. The rest of the issue was completely unrelated.
Just accept one of our answers (preferably Hauke's, I have more than enough rep already) so the question can be marked as answered.
You could also improve legibility by putting the target dir into a variable:
target="/u01/app/oracle/diag/tnslsnr/dm01dbadm01"

for listener in *
do
		rm "$target"/"$listener"/trace/"$listener".old.gz
		cp "$target"/"$listener"/trace/"$listener".log "$target"/"$listener"/trace/"$listener".old
		gzip "$target"/"$listener"/trace/"$listener".old
		> "$target""$listener"/trace/"$listener".log
done
 
5:32 PM
yea I will definitely use a variable for that. Thanks so much @terdon !
 
@ForeverAlone No problem. Please remember to accept Hauke's answer
 
I've done that.
 
@ForeverAlone Oh, so you have. Cool, thanks.
 
 
2 hours later…
7:49 PM
I tried installing ath10k-firmware and a backport, eventually got failed on having a working wi-fi.
dmesg says my device has a chip_id and it's not supported by ath10k_pci.
 
8:44 PM
I got wlan0.
It seems like backports-20151120 is better than latest stable one.
 
9:38 PM
@Dinir I'm not sure what you are saying. Do you have wireless working now?
 
9:53 PM
Good evening! I have an issue with the grep command, when I do grep Antoine on a docx file which has at least once Antoine on its first line, I get nothing returned...
More Precisely I did: grep Antoine "CV Antoine.docx"
Can you help me understand what I missed?
 
@Marine1 Grep only works on text. docx files aren't text.
 
okay, thanks. Yet, it seems that wc does, why such a difference?
 
@Marine1 wc doesn't actually count the words in the text of the document, it returns the number of words in the binary representation, which is completely meaningless
wc doesn't work, but it isn't smart enough to tell you that what it's doing isn't what you wanted
 
haha, okay!
Thank you!
 
I got wlan0 on iwconfig, but not like it is actually grabbing any wifi signal yet. @Faheem
 
10:02 PM
@Marine1 You'll need some specialist tool, assuming such a thing exists.
@Dinir Ok.
Where is your wifi signal coming from? From your router or somewhere else? Have you tested it on another computer?
@JennyD Someone posted this in another room. Props to Sweden.
 
It's from router, and right in front of me. I tested with another computer.
 
This list of countries by traffic-related death rate shows the annual number of road fatalities per capita per year and per vehicle-km in some countries in the year the data was collected. According to the World Health Organization, road traffic injuries caused an estimated 1.25 million deaths worldwide in the year 2010. That is one person is killed every 25 seconds. Only 28 countries, representing 449 million people (7% of the world’s population), have adequate laws that address all five risk factors (speed, drink–driving, helmets, seat-belts and child restraints). Over a third of road traffic...
@Dinir Ok.
Is your computer set up to use /etc/network/interfaces? If so, can you post it?
 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# wireless
iface wlan0 inet dhcp
Forum says I need 2 things to enable the device. One is the firmware ath10k-firmware, and one other thing is a thing called backports. I moved the firmware to /lib/firmware/ and installed backports using some make commands.
After that I can see wlan0 is on the list of iwconfig, not sure if it actually works to grab a signal.
 
@Dinir I don't follow either of the two statements in your last sentence.
"I moved the firmware to /lib/firmware".
 
Hmmm...
 
10:08 PM
Why did you do that?
Where does ath10k-firmware install?
And why do you need make commands with backports?
Let's back up a second. What is your wireless device?
 
I can grab the firmware from github.com/kvalo/ath10k-firmware.git, and I don't sure if it's need though.
for backports...
 
My computer has not heard of the Debian packageath10k-firmware.
 
sudo apt-get update
sudo apt-get install linux-headers-generic build-essential
wget kernel.org/pub/linux/kernel/projects/backports/2015/11/20/…
tar -zxvf backports-20151120.tar.gz
cd backports-20151120
make defconfig-ath10k
make
sudo make install
 
So I'm guessing it isn't a Debian package.
 
I see a forum post about installing that 'backports'.
I found two forum post, one from askubuntu, and one from arch linux users'.
 
10:11 PM
@Dinir A different meaning for the word backports. One sec, let me look at your question again.
 
Okay.
1
Q: I can't connect to wi-fi, no wlan0 device on iwconfig

DinirMy Device I bought Lenovo ideapad 500S and installed Debian 8. It's a fresh install, and no other OS is on this computer. I am having difficult on connecting to wi-fi and days of googling to hunt any hint resulted no any good. Since lspci tells that I have Qualcomm Atheros Device [168c:0042] (...

I think it's not meant to log any updates like this...
 
Ok, I see: Qualcomm Atheros Device [168c:0042] (rev 30).
@Dinir You don't need to post it. I can look it up.
 
If I got figure out I'll remove some parts of my question and move them into an answer to my question.
 
@Dinir Does your computer report nothing except "Qualcomm Atheros Device"?
No model number or anything?
 
Nothing more than that I think
I tried to find model number or name of the devices but couldn't find it.
 
10:15 PM
@Dinir try "lshw -c network", please.
 
Okay, I think I have install them.
 
@Dinir Pardon?
 
bash: lshw: command not found.
  *-network
       description: Wireless interface
       product: Qualcomm Atheros
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 30
       serial: c8:ff:28:52:bf:e1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath10k_pci driverversion=3.16.0-4-amd64 firmware=WLAN.TF.1.0-00267-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
 
@Dinir apt-get install command-not-found
 
...is that a thing?
 
10:18 PM
@Dinir Ok. Add that to your question.
@Dinir What, command-not-found? Sure?
 
I tried lshw... and sudo lshw....
seems like it is not one of the programs installed when installing Debian.
 
Ok, try lspci -nnk
 
02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)
	Subsystem: Lenovo Device [17aa:4035]
	Kernel driver in use: ath10k_pci
 
@Dinir Ok, good. Add that to the question too.
Oh, never mind. It's there already.
 
10:44 PM
@Dinir I think that driver might be in 4.3. What kernel version are you currently running?
Or maybe not - it's hard to be sure. You've probably already seen this, but just in case...
It looks like this model might be QCA6164, but in that case, I don't understand why the hardware does not report it.
 
kernel version is 3.16.0.4
and I am afraid of installing 4.3.0 kernel...
the site also have some page about 168c:0042...
 
@Dinir Why are you afraid of installing 4.3? I think @derobert pointed you to a 4.3 jessie backport, right?
wireless.wiki.kernel.org/en/users/drivers/ath10k mentions a mailing list and an IRC channel. You might get better help on that mailing list. I'd give it a try.
 
11:14 PM
@Dinir One simple thing that would be useful to clarify is what model this card is. I see different versions mentioned, including QCA6164 and QCA9377. Which one is it? The stupid card really should report that, but often manufacturers are idiots.
That, at least, is something you could ask about on the mailing list.
 
Okay. I gonna try on that...
 
Googling for both QCA6164 and QCA937 brings up:
Doing a search for 0041 in there gives the QCA6164. But it doesn't hurt to ask the mailing list.
 
It's quite a quite channel.
 
@Dinir Mailing list, not IRC.
Note that the drivers you seem to have downloaded are for the QCA9377, which is probably a different card.
Again, it's important to know what model the card is.
Also, check the documentation that came with the laptop. Does it have anything like this, for example?
General question (to anybody): why doesn't this card report its model number?
Weird, there were a lot of comments on that question, they all seem to have disappeared. Or was I hallucinating?
 
11:32 PM
jcaron maybe... I deleted all my comments and I think they also deleted their comments left.
 
@Dinir I see. Well, information in the comments should really be in the question itself. But you already know that.
Ahah, this is helpful:
3
Q: What is the difference between the Atheros QCA6164, QCA6174, and QCA61x4 cards?

Miles KrellIn Launchpad bug #1436940, the names QCA6164, QCA6174, and QCA61x4 are all used. According to https://wikidevi.com/wiki/Qualcomm_Atheros, the QCA6164 has the MIMO config 1x1:1, while the QCA6174 has the MIMO config 2x2:2. What effect does this difference have? Also, which one has the PCI ID 16...

 
oh
That answer is so much clear.
It directly says 0042 is QCA9377...
...so I happened to choose a right firmware?
this link says kernel 4.3 doesn't support QCA9377, and I would want to try 4.4-rc1.
It's wrote on January.
 
11:48 PM
@Dinir Apparently, yes. It's helpful when people give actual information.
@Dinir Tip for the future. Before buying hardware in future, check on Linux support before buying the product.
 
Yes I definitely would do that.
 
This is by no means guaranteed, especially for recent hardware.
Though it's much better than it used to be.
You could try a 4.4 snapshot. It's available on Debian. But you might want to check with that mailing list first.
bbs.archlinux.org/viewtopic.php?id=205354 suggests QCA9377 support will be in 4.4. But it's not clear what the Debian snapshot refers to.
Hang on, 4.4 is out already.
Package: linux-image-4.4.0-trunk-amd64
Source: linux
Version: 4.4-1~exp1
This one will probably work, though you could wait for a final version.
 
Kinda surprised that I would want to use something not stable or final...
 
The patch developer talks of the presence of two different versions of QCA9377 and the patch is for V1.0.

Seems, either the fw is broken (very improbable) or your QCA9377 is V2.0.
When support for V1.0 is available, V2.0 shouldn't take long.
@Dinir Have you checked for a certification?
 
I had when I received the laptop.
I'll see the box now.
 
11:58 PM
> What we call QCA9377 is actually a 'series' of wifi ac devices. There are a total of 11 different chips.
Oh, wonderful.
 
I have a basic setup guide, support telephone list, and a warranty card.
Nothing seems like a certification.
 

« first day (1948 days earlier)      last day (3011 days later) »