solution for a quick/robust/secure broadcast issue
by bruce
Hi.
For a test network, internal 192.168..x subnet, I've got some boxes
that are connected to a dhcp server that I have no control of.
I'm looking to test/play with some services on the different boxes,
but would like to have other boxes be able to reference the boxes
running the services. My issue, the box running service X could have
ip1 which could then change to ip2 the next day..
I'm considering some sort of cheap/fast broadcast process where the
machines running the given services, broadcast out to the network "i'm
boxA running service Foo on ipXX" and the listening machine would then
decouple the message, and update the resolve.conf file, or whatever
the required file is to then be able to use the required name/ip for
the service..
Thoughts/comments??
Would nc be good for this, would there be a better solution?
Should I create a limited user on each box, and have a process
attached to the user listen, and process the messages?
Thanks guys..
9 years, 7 months
Canon MG5520 wireless printer
by Kevin Cummings
My volleyball club just bought a new printer.
When I plugged my laptop into the USB cable, CUPS tried to auto-install
it, but it failed. I saw multiple USB connects and disconnects in the
log. The last log entries in every series were disconnects. The pop-up
window claiming it was installing never went away, it just sat there.
Next step, I googled the printer linux support, and found the canon
linux print drivers. I downloaded
cnijfilter-mg5500series-4.00-1-rpm.tar.gz from Canon, untarred it, and
ran the install.sh script. After it finished, I can now print to the
printer via USB cable. (MG5500USB printer added to my system.)
Next step, I made sure the printer was connected to the correct wireless
network. When I had, I can now print to the printer via AirPrint from
my iPhone.
Final step, I can't seem to make my laptop see the printer wirelessly.
How can print to this printer without plugging into the USB cable?
--
Kevin J. Cummings
kjchome(a)verizon.net
cummings(a)kjchome.homeip.net
cummings(a)kjc386.framingham.ma.us
Registered Linux User #1232 (http://www.linuxcounter.net/)
9 years, 7 months
mount shows mounted partition as /dev/mapper/HGST_HTS721010A9E630_JR10006P0BSEEF3
by JD
# mount | grep sdc3
/dev/mapper/HGST_HTS721010A9E630_JR10006P0BSEEF3 on /sdc3 type ext4
(rw,relatime,journal_checksum)
So, how come I do not see it listed as I see /dev/sda3. To wit:
# mount | grep sda3
/dev/sda3 on / type ext4 (rw,relatime,data=ordered)
If I unmount /dev/mapper/HGST_HTS721010A9E630_JR10006P0BSEEF3
# umount /dev/mapper/HGST_HTS721010A9E630_JR10006P0BSEEF3
and I try
# mount /dev/sdc3 /sdc3
mount: special device /dev/sdc3 does not exist
# grep sdc3 /etc/fstab
UUID=e64d7b94-1ffb-4a2e-ae59-5f8e54b6cab9 /sdc3 ext4
noauto,data=ordered,journal_checksum 3 3
# blkid /dev/sdc3
/dev/sdc3: UUID="e64d7b94-1ffb-4a2e-ae59-5f8e54b6cab9" TYPE="ext2"
PARTUUID="96e20bf8-03"
dmesg shows these errors:
[ 25.083098] systemd-udevd[385]: inotify_add_watch(7, /dev/sdc3, 10)
failed: No such file or directory
[ 25.084057] systemd-udevd[386]: inotify_add_watch(7, /dev/sdc4, 10)
failed: No such file or directory
[ 25.085042] systemd-udevd[384]: inotify_add_watch(7, /dev/sdc2, 10)
failed: No such file or directory
[ 25.087052] systemd-udevd[381]: inotify_add_watch(7, /dev/sdc1, 10)
failed: No such file or directory
Runing partprobe:
# partprobe
device-mapper: remove ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF4
failed: Device or resource busy
device-mapper: remove ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF3
failed: Device or resource busy
device-mapper: remove ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF2
failed: Device or resource busy
device-mapper: remove ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF1
failed: Device or resource busy
Warning: parted was unable to re-read the partition table on
/dev/mapper/HGST_HTS721010A9E630_JR10006P0BSEEF (Device or resource
busy). This means Linux won't know anything about the modifications you
made.
device-mapper: create ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF1
failed: Device or resource busy
device-mapper: remove ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF1
failed: Device or resource busy
device-mapper: create ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF2
failed: Device or resource busy
device-mapper: remove ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF2
failed: Device or resource busy
device-mapper: create ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF3
failed: Device or resource busy
device-mapper:remove ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF3
failed: Device or resource busy
device-mapper: create ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF4
failed: Device or resource busy
device-mapper: remove ioctl on HGST_HTS721010A9E630_JR10006P0BSEEF4
failed: Device or resource busy
device-mapper: remove ioctl on WDC_WD20NPVX-00EA4T0_WD-WXV1E53KAE83p3
failed: Device or resource busy
Warning: parted was unable to re-read the partition table on
/dev/mapper/WDC_WD20NPVX-00EA4T0_WD-WXV1E53KAE83 (Device or resource
busy). This means Linux won't know anything about the modifications you
made.
device-mapper: create ioctl on WDC_WD20NPVX-00EA4T0_WD-WXV1E53KAE83p3
failed: Device or resource busy
device-mapper: remove ioctl on WDC_WD20NPVX-00EA4T0_WD-WXV1E53KAE83p3
failed: Device or resource busy
So, whatmight be causing this?
9 years, 7 months
Can't re-create initrd
by CLOSE Dave
I'm working on a local change to the initrd used by PXE for Fedora 20.
The standard version works great for me. As an experiment, I ran these
commands.
# ls -l initrd.img
-rw-r--r--. 1 root root 34631660 Dec 12 2013 initrd.img
# mkdir newrd; cd newrd
# unxz <../initrd.img | cpio -i
# find . | cpio -o -c | xz >../initrd2.img
The resulting initrd2.img has exactly the same size as the original file
but the contents are not in the same sequence. That is, "cpio -t" on the
two files shows the same number of files but not in the same order. I've
also tried creating the new file with this command.
# unxz <../initrd.img | cpio -it | cpio -o -c | xz >../initrd2.img
This results in a new file with the contents in the same order as the
original.
But when I put initrd2.img in place of initrd.img and try to PXE boot,
the boot fails with the message, "Kernel panic - not syncing: VFS:
Unable to mount root fs on unknown-block(2,0)". There may be more
details before that message but they roll off my screen too quickly.
What am I doing wrong?
--
Dave Close
9 years, 7 months
sony-ericsson p910i
by Walter Cazzola
Dear Experts,
since I'm moving to a new phone my old sony-ericsson p910i is going to
retire but before that I'd like to get all the SMS, phots and phone
numbers I've stored on it and that I can't move to the SIM (too small).
It connects to my laptop through a craddle and a usb cable and lsusb
gives the following:
Bus 003 Device 003: ID 0403:fc82 Future Technology Devices International, Ltd SEMC DSS-20/DSS-25 SyncStation
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0xfc82 SEMC DSS-20/DSS-25 SyncStation
bcdDevice 4.00
iManufacturer 1 Sony Ericsson
iProduct 2 SEMC DSS SyncStation
iSerial 3 LU1025V8
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 40mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 SEMC DSS SyncStation
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
But the KDE "device notifiers" (I don't know the application name) don't
recognize its presence not mount it automatically.
Googling around seems that the tool to connect to a smartphone (also old
generation as mine) is gnokii but seems that it needs to be configured
before detecting the phone and I'm not able to do that. Google doesn't
help either: I didn't find any configuration for gnokii supporting my
phone.
So, some of you can help me?
Best
Walter
--
9 years, 7 months
outrageously newbie question about playing with GPS on fedora
by Robert P. J. Day
(note: even though i'm running rawhide, this issue has nothing to do
with rawhide itself, so i'm using the regular list.)
having never messed with GPS software running on linux, one or two
truly beginner-level questions. if i want to simply buy a GPS receiver
and set up my fedora laptop to start receiving raw NMEA data, once i
purchase the receiver and install something like gpsd, is there any
additional expense in terms of a monthly service subscription or
anything like that? (i warned you this would be a dumb question.)
i'm interested primarily in experimenting with receiving/parsing
NMEA data, the kernel modules involved, etc., so i don't need
spectacular performance or precision. i'm in california next week so i
figured i'd check out these two USB GPS receivers:
http://www.embeddedworks.net/satl114.html
http://www.embeddedworks.net/satl116.html
then i'd install gpsd (or equivalent if one exists), fire up a client
and start reading data. is there any more to it than that? also open
to recommendations for other GPS receivers if anyone has good
experiences.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
9 years, 7 months
Creating a static ethernet connection, once again
by Geoffrey Leach
Sorry to be a bother, but ...
To recap. I have an ethernet port that's wired to a HDTV tuner that converts OTA HDTV to ma4 and streams it down the cable to a program that collects and stores it. All of this is known to work under Fedora 17. No so under Fedora 19. FirewallD is stopped.
The ethernet port has a ifcfg script with
HWADDR="E8:40:F2:05:DE:1C"
BOOTPROTO=none
IPADDR="198.168.20.5"
but is otherwise as created by Anaconda.
To test the interface, one asks the tuner to say what connections it has, hdhomerun_config discover. This is the basic interface. Tracking this with Wireshark, I see:
Frame 1: 62 bytes on wire (496 bits), 62 bytes captured (496 bits) on interface 0
Ethernet II, Src: Pegatron_05:de:1c (e8:40:f2:05:de:1c), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Internet Protocol Version 4, Src: 198.168.20.5 (198.168.20.5), Dst: 198.168.20.255 (198.168.20.255)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00: Not-ECT (Not ECN-Capable Transport))
Total Length: 48
Identification: 0x30b2 (12466)
Flags: 0x02 (Don't Fragment)
Fragment offset: 0
Time to live: 64
Protocol: UDP (17)
Header checksum: 0x53b6 [validation disabled]
Source: 198.168.20.5 (198.168.20.5)
Destination: 198.168.20.255 (198.168.20.255)
[Source GeoIP: Unknown]
[Destination GeoIP: Unknown]
User Datagram Protocol, Src Port: 32798 (32798), Dst Port: 65001 (65001)
Source port: 32798 (32798)
Destination port: 65001 (65001)
Length: 28
Checksum: 0xb682 [validation disabled]
Data (20 bytes)
0000 00 02 00 0c 01 04 00 00 00 01 02 04 ff ff ff ff ................
0010 4e 50 7f 35 NP.5
I interpret this as saying that I sent 20 bytes of data via the UDP protocol from 198.168.20.5 to anybody on the 198.168.20 subnet. As I received no response, presumably that's not what I wanted to do.
Is this significant? I can ping 198.168.20.5 successfully, but Wireshark does not see any packets.
Thanks.
9 years, 7 months
Question about Thunderbird
by JD
Running current TB thunderbird-31.1.1-1.fc20.x86_64
Received a message from a vendor I deal with, via paypal.
The message content was alright as I expected it to be.
However, TB displayed the From field as some other name,
other than <vendor's name> via paypal
which is usually how invoices come to me from paypal.
Except in this message (first time I see this), the from field
is from another entity.
I examined the full headers and I did not see the entity that
TB claims the message was from.
Does anyone have an idea how this can occur?
9 years, 7 months
usb/wifi -
by bruce
hey...
i'm testing on a couple of fed/centos boxes, using cheap ralkink 5370
chipset usb/wifi adapters
i'm getting the following msgs in the /var/log/messages which
indicates that i've got a major wifi issue!!
i'm looking for input/thoughts on trying to debug this to see how to
correct my data issues!
basically:
-how to see/determine exactly how much throughput (download) i'm getting
-what can be done to "throttle" if this is needed..
the boxes are on a "shared" wifi router, could this be causing an
issue with other boxes attached to the router as well??
thanks
Warning - TX status timeout for entry 6 in queue 0
Oct 11 13:08:18 dell2 kernel: ieee80211 phy0:
rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for
entry 6 in queue 0
Oct 11 13:08:18 dell2 kernel: ieee80211 phy0:
rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for
entry 6 in queue 0
Oct 11 13:08:18 dell2 kernel: ieee80211 phy0:
rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for
entry 6 in queue 0
Oct 11 13:08:18 dell2 kernel: ieee80211 phy0:
rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for
entry 6 in queue 0
9 years, 7 months