OT: bash question
by Mike Wright
Hi all,
Not sure where to find the answer to this question. Google wasn't
helpful. The users on this list are a great repository of knowledge so
I thought to try here.
Is there a bash command that tells an executing script what *its* path
is? Not the path where the user is but where the script is. If not
that then a series of commands that yield the same result? Maybe some
way of using 'ps'?
Has me stumped and my dog-eared "UNIX in a Nutshell" hasn't exposed the
goodies either ;)
TIA,
Mike Wright
13 years, 4 months
Problem with NetworkManager (self-inflicted)
by Dick Roark
It all started with Puppy Linux 5.2. I setup a LiveCD and jumped in to get
familiar with it. I had some trouble with connectivity. I eventually got
around to trying my linksys Wireless-G dongle. This showed some promise
although I was unable to find the correct Puppy driver for the dongle and
eventually removed the Wireless-G and shelved that project. Later on, I
tried to log on with Fedora and found that NetworkManager was now unusable.
Okay, after fiddling around with it for a while, I did a complete reinstall
of Fedora (including reformatting the disk) and low-and-behold
NetworkManager still doesn't work. I would have thought the Fedora reinstall
would have installed the correct driver but apparently it didn't. I am able
to send this because I have plugged the Wireless-G back in. (aargh!) Has
anyone ever seen this sort of thing?
13 years, 4 months
deltarpm with old RPM packages
by Paul B Schroeder
Hello all..
We have some RPM packages which have been built on a system with RPM
version 4.4.2.3 and are being installed on F14 based systems with
4.8.1.. We are creating the delta RPM packages on the F14 system with
makedeltarpm 3.6.
So package foo version 1 installs on the F14 systems just fine. But
when running applydeltarpm with the drpm created against foo version 2,
we get "md5 mismatch of result" errors.
I'm guessing this is an issue with the fact that the RPM packages are
being built with an older version of RPM? If that's the case, is there
any way around this problem?
Thanks in advance...Paul...
--
---
Paul B Schroeder
<paulbsch "at" vbridges "dot" com>
13 years, 4 months
OT: bash question
by Alan Gagne
> My mistake. I forgot to say that the file was invoked from a link.
> Your proposed solution shows the link's location. I have to discover
> the target of the link.
echo `ls -la $0`
13 years, 4 months
yum vs. rpm to install occasional products
by Jerry Feldman
I recently installed Oracle-XE using yum --nogpgcheck localinstall
oracle...rpm. No problem except that I screwed up the configuration. My
coworker told me that I should use rpm(8) because the installation
manual specified it rather than yum(8). My question is that is there any
specific advantage using yum(8) over rpm(8).
--
Jerry Feldman <gaf(a)blu.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB CA3B 4607 4319 537C 5846
13 years, 4 months
Pinnacle Studio PCTV USB 2.0 tv tuner , no sound .
by Kostas Sfakiotakis
I have the above named tv tuner card ( which has usb connection ) .
I can tune to any tv channel that i wish but the problem is that
i can´t hear any sound . lsusb would print
Bus 001 Device 002: ID 2304:0208 Pinnacle Systems, Inc. Studio PCTV USB2
The output of lsusb -v concerning the above tuner is a bit more
lengthy so i saved it in an Xemacs document and attached it to this
email . The problem with the sound is persistent and it can´t be
resolved by changing the application that am using ( the same problem
exists with both Tv Time and xawtv ) . I was wondering if someone could
give me any pointers on what course to follow in order to find the exact
problem and resolve it .
13 years, 4 months
Dual wireless access points and connection from f14?
by mike cloaked
I have a question for any wireless expert who can help.
At home I have two wireless access points - one upstairs and one
downstairs - to give a good signal anywhere in the house.
What I would like is to have a seamless wireless access from any
laptop whether mine or a visitor with the appropriate encryption
password.
Now my thinking is that using the *same* ssid and encryption protocol
and password for both APs should do the trick nicely - so that is how
I have things set up (with different channel for each AP's output) and
indeed if I power up a laptop running F14 upstairs it connects nicely
with a lovely strong signal - but if I then go downstairs and boot the
same machine then it tries to connect to the upstairs AP despite the
nearest signal about 10 feet away being a great deal stronger! So
the system tries to connect to the last AP it connected to even if a
local signal is stronger - this is illogical behaviour and it is not
clear if NetworkManager or wpa_supplicant is the culprit - or if I am
not supposed to expect things to work that way!
I had a visitor who had a laptop here this weekend - and the same
problem arose - I decided to try to set up two connections in
NetworkManager both with the same ssid and encryption/password but tag
them with the MAC address of each AP - the box steadfastly refused to
reconnect to the nearest (and strongest) AP after having been
connected to the weak one first, and I had to remove the definition
for the weak signal altogether in NM's list of connections, and only
leave the connection tagged with the MAC address of the nearest strong
signal before restarting the NetworkManager service before I could
persuade NM to connect to the near and strong AP!
I don't know if the design of NetworkManager ever considered this
scenario and whether any developer ever put in place code to hook up
to a valid strong signal even if a previously valid signal (which is
currently weaker) still exists - but it seems to me that the decision
logic in NetworkManager is both perverse and flawed?
Anyone help with some knowledge here?
Thanks
--
mike c
13 years, 4 months
ftrench dict as default firefox
by Randolph Jones
firefox 3.6.13 on fedora 13 has dicollecte francais dict 4.0.3 installed
as addon
when I left click on a word, thefreedictionary.com pops ups and advises
me there is no word like that
as far as I can see I dont have thefreedictonary installed
how to make dictionair francais classique et reform the default
dictionary for left click
TIA
rfjones
13 years, 4 months