Re: WiFi Not Working After System Reinstallation

2023-05-08 Thread Marko Randjelovic
Both systems are fully updated Bullseye on a laptop. I have two access  
points, let's call them A and B. When I connect to A, DHCP does not  
work. When I connect to B, DHCP works, laptop gets an IP address and  
internet works without problems. On the other hand, my mobile phone  
can successfully connect to both. Both APs have enabled DHCP server  
and I made sure the IP ranges do not overlap.




WiFy Not Working After System Reinstallation

2023-05-08 Thread Marko Randjelovic

Hi all,

my wireless network interface is not working after system  
reinstallation. Before it was working perfectly. It cannot get an IP  
address from DHCP. Also, when I assign to it and IP address manualy,  
it's not working. The wired interface is working perfectly. Itried  
with both ordinary and backported versons of the driver available in  
Debian repos (broadcom-sta-dkms).


I hope someone will have an idea on what's going on.

# dmesg | grep firmware
[   12.664390] platform regulatory.0: firmware: direct-loading  
firmware regulatory.db
[   12.686687] platform regulatory.0: firmware: direct-loading  
firmware regulatory.db.p7s
[   15.764398] bluetooth hci0: firmware: failed to load  
brcm/BCM43142A0-04ca-2006.hcd (-2)
[   15.764770] firmware_class: See https://wiki.debian.org/Firmware  
for information about missing firmware
[   15.765299] bluetooth hci0: firmware: failed to load  
brcm/BCM-04ca-2006.hcd (-2)

[   15.765623] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[   23.512863] r8169 :02:00.2: firmware: direct-loading firmware  
rtl_nic/rtl8402-1.fw


# dpkg -l ifupdown iproute2 wpasupplicant iw wireless-tools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---==>
ii  ifupdown   0.8.36   amd64high level tools to  
configure netw>
ii  iproute2   5.10.0-4 amd64networking and traffic  
control too>
ii  iw 5.9-3amd64tool for configuring  
Linux wireles>
ii  wireless-tools 30~pre9-13.1 amd64Tools for manipulating  
Linux Wirel>
ii  wpasupplicant  2:2.9.0-21   amd64client support for WPA  
and WPA2 (I>


# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN  
group default qlen 1000

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: enp2s0f2:  mtu 1500 qdisc  
pfifo_fast state UP group default qlen 1000

link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 192.168.1.152/24 brd 192.168.1.255 scope global dynamic enp2s0f2
   valid_lft 863375sec preferred_lft 863375sec
inet6 fe80::f279:59ff:fe31:6502/64 scope link
   valid_lft forever preferred_lft forever
3: wlp3s0:  mtu 1500 qdisc  
pfifo_fast state DORMANT group default qlen 1000

link/ether yy:yy:yy:yy:yy:yy brd ff:ff:ff:ff:ff:ff
inet 169.254.12.207/16 brd 169.254.255.255 scope link wlp3s0:avahi
   valid_lft forever preferred_lft forever
inet6 fe80::aeb5:7dff:fe78:dd58/64 scope link
   valid_lft forever preferred_lft forever

# iw dev
phy#0
Interface wlp3s0
ifindex 3
wdev 0x1
addr yy:yy:yy:yy:yy:yy
type managed
txpower 23.00 dBm

# ip link set wlp2s0 up

# iwlist scan
loInterface doesn't support scanning.

enp2s0f2  Interface doesn't support scanning.

wlp3s0Scan completed :
  Cell 01 - Address: zz:zz:zz:zz:zz:zz
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=43/70  Signal level=-67 dBm
Encryption key:on
ESSID:"tt"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
  24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=
Extra: Last beacon: 44ms ago
IE: Unknown: 0006444338393044
IE: Unknown: 010882848B962430486C
IE: Unknown: 030101
IE: Unknown: 0706444520010D14
IE: Unknown: 200100
IE: Unknown: 23020F00
IE: Unknown: 2A0100
IE: Unknown: 32040C121860
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 0B052B
IE: Unknown: 4605720801
IE: Unknown:  
2D1ABC091B00
IE: Unknown:  
3D160108

IE: Unknown: 7F0804000840
IE: Unknown:  
DD770050F204104A0001101044000102103B00010310470010EB62D5B56AA6799788693B73BFFD4549102100045562656510230004556265651024000631323334353610420007303030303030311054000800060050F204000110110006556265654150100800022008103C0001031049000600372A

Re: mic issues after upgrade to Debian 11

2021-10-11 Thread Marko Randjelovic
On Sat, 9 Oct 2021 13:21:51 + (UTC)
L Dimov  wrote:

>  
> 
> On Tuesday, October 5, 2021, 1:14:48 PM EDT, Marko Randjelovic 
>  wrote:  
>  
>  On Tue, 5 Oct 2021 13:58:35 + (UTC)
> L Dimov  wrote:
> 
> > My mic used to work fine under Debian 9 and 10, but after upgrading to 11, 
> > people tell me that the audio coming out of my mic is really scratchy and 
> > bad to the point where if I do a video call, I'd have to use the phone for 
> > the audio part. Not sure where to even start with this... Is there an easy 
> > way (is it possible) to revert to the previous driver, somehow, the one 
> > that was there in Debian 10?
> > Thank you in advance for any suggestions.Luben  
> 
> To help us find the cause of your problem, it would be nice if you
> could provide us more information: 
> - your sound setup (do you use alsa, pulseaudio, jack...)
> - which mic device/driver is in question (mic connected to your sound
> card which is X, mic from your webcam which is Y...)
> - what program do you use for communication (Zoom, Teams, Meet, Skype,
> Telegram...)
> 
> It is the built-in mic that is now problematic, with anything I try, 
> including with a variety of various sound recorders in GNOME. I just tried a 
> plug-in mic, and that one works, so I will be using it from now on for 
> meetings, but it is rather unfortunate that I can no longer use the built-in 
> mic in Debian 11, as that same mic worked fine with the previous two stable 
> versions of Debian.
> 
>   

What's the output of 'cat /proc/asound/cards'?



Re: mic issues after upgrade to Debian 11

2021-10-05 Thread Marko Randjelovic
On Tue, 5 Oct 2021 13:58:35 + (UTC)
L Dimov  wrote:

> My mic used to work fine under Debian 9 and 10, but after upgrading to 11, 
> people tell me that the audio coming out of my mic is really scratchy and bad 
> to the point where if I do a video call, I'd have to use the phone for the 
> audio part. Not sure where to even start with this... Is there an easy way 
> (is it possible) to revert to the previous driver, somehow, the one that was 
> there in Debian 10?
> Thank you in advance for any suggestions.Luben

To help us find the cause of your problem, it would be nice if you
could provide us more information: 
- your sound setup (do you use alsa, pulseaudio, jack...)
- which mic device/driver is in question (mic connected to your sound
card which is X, mic from your webcam which is Y...)
- what program do you use for communication (Zoom, Teams, Meet, Skype,
Telegram...)



Re: Up-to-date Bullseye, Power Save turned Samsung T55 Monitor off. Couldn't wake it up

2021-10-03 Thread Marko Randjelovic
On Sat, 2 Oct 2021 15:48:39 -0400
Kenneth Parker  wrote:

> HP Elitedesk 705 G1.  Bullseye XFCE.
> 
> I had a timeout set like usual.  Before, I could jiggle the Mouse and press
> the Shift Key and it would wake up, but not today.
> 
> Fortunately, I was able to power up a Laptop, and SSH into the Elitedesk,
> and tell it to Shutdown cleanly.  (But, obviously not everyone has this
> option).
> 
> (Until I can figure this out, I changed the Power settings to "Never" turn
> off the Monitor).
> 
> Has anybody else experienced this?
> 
> Thanks!
> 
> Kenneth Parker

I had such a problem and solved it by installing firmware for the
graphics card.



Re: Sound input source detected but not capturing

2021-09-04 Thread Marko Randjelovic
On Sat, 04 Sep 2021 07:47:02 +0530
Pankaj Jangid  wrote:

> Marko Randjelovic  writes:
> 
> > Did you make sure:
> >
> > 1. correct device is set to record from 
> > 2. recording is enabled
> > 3. input volume is large enough  
> 
> I guess I have only one device so there is nothing to set.

I meant 'input source'. On my machine it can be:

'Rear Mic' 'Front Mic' 'Line' 'CD'

> 
> How is recording enabled? Do I need to add myself to some group? I am
> member of followin groups: pankaj cdrom floppy sudo audio dip video
> plugdev netdev bluetooth scanner.

You are member of audio group, so that's fine. By 'recording enabled I
meant on/off switch.

> 
> I have tried to set input volume using various knobs in gnome settings
> as well as alsamixer. It did not work.
> 
> >> If you are not sure send the output of command 'amixer' so we can check.  
> >
> > In fact, unless you have only one sound device, the command should
> > be 'amixer -cN' where N is the number of your sound card and can change
> > after reboot. So first you have to type 'cat /proc/asound/cards' to
> > find your card number.  
> 
> Output of ‘amixer’
> 
> --8<---cut here---start->8---
> $ amixer
> Simple mixer control 'Master',0
>   Capabilities: pvolume pswitch pswitch-joined
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 65536
>   Mono:
>   Front Left: Playback 64880 [99%] [on]
>   Front Right: Playback 64880 [99%] [on]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch cswitch-joined
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 65536
>   Front Left: Capture 65540 [100%] [on]
>   Front Right: Capture 65540 [100%] [on]
> --8<---cut here---end--->8---
> 
> Output of ‘amixer -c0’
> 
> --8<---cut here---start->8---
> $ cat /proc/asound/cards
>  0 [PCH]: HDA-Intel - HDA Intel PCH
>   HDA Intel PCH at 0xb1328000 irq 137
> 
> $ amixer -c0
> Simple mixer control 'Master',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>   Playback channels: Mono
>   Limits: Playback 0 - 87
>   Mono: Playback 87 [100%] [0.00dB] [on]
> Simple mixer control 'Headphone',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 87
>   Mono:
>   Front Left: Playback 0 [0%] [-65.25dB] [off]
>   Front Right: Playback 0 [0%] [-65.25dB] [off]
> Simple mixer control 'Speaker',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 87
>   Mono:
>   Front Left: Playback 87 [100%] [0.00dB] [on]
>   Front Right: Playback 87 [100%] [0.00dB] [on]
> Simple mixer control 'PCM',0
>   Capabilities: pvolume
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 255
>   Mono:
>   Front Left: Playback 254 [100%] [-0.20dB]
>   Front Right: Playback 254 [100%] [-0.20dB]
> Simple mixer control 'Mic Boost',0
>   Capabilities: volume
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: 0 - 3
>   Front Left: 3 [100%] [30.00dB]
>   Front Right: 3 [100%] [30.00dB]
> Simple mixer control 'IEC958',0
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958',1
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',2
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',3
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',4
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 63
>   Front Left: Capture 63 [100%] [30.00dB] [on]
>   Front Right: Capture 63 [100%] [30.00dB] [on]
> Simple mixer control 'Auto-Mute Mode',0
>   Capabilities: enum
>   Items: 'Disabled' 'Enabled'
>   Item0: 'Enabled'
> Simple mixer control 'Internal Mic Boost',0
>   Capabilities: volume
>   Playback channels: Fro

Re: Sound input source detected but not capturing

2021-09-03 Thread Marko Randjelovic
On Fri, 3 Sep 2021 20:48:52 +0200
Marko Randjelovic  wrote:

> If you are not sure send the output of command 'amixer' so we can check.

In fact, unless you have only one sound device, the command should
be 'amixer -cN' where N is the number of your sound card and can change
after reboot. So first you have to type 'cat /proc/asound/cards' to
find your card number.



Re: Sound input source detected but not capturing

2021-09-03 Thread Marko Randjelovic
On Fri, 03 Sep 2021 22:52:45 +0530
Pankaj Jangid  wrote:

> I have a fresh Bullseye installation on a laptop. Sound output is
> working. But the input is not working. The device is detected.
> 
> --8<---cut here---start->8---
> $ arecord -l
>  List of CAPTURE Hardware Devices 
> card 0: PCH [HDA Intel PCH], device 0: ALC236 Analog [ALC236 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> --8<---cut here---end--->8---
> 
> In the gnome settings, input is showing built-in microphone but there is
> not movement in the capturing indicator.
> 
> alsamixer is also showing the sound card (F6) - HDA Intel PCH.
> 

Did you make sure:

1. correct device is set to record from 
2. recording is enabled
3. input volume is large enough

If you are not sure send the output of command 'amixer' so we can check.



Re: WiFi turned off

2021-08-05 Thread Marko Randjelovic
On Thu, 5 Aug 2021 10:30:42 +0300
Gunnar Gervin  wrote:

> Hi again, experts.
> Please advice how fix it.
> WiFi gone.
> I used ethernet cable to reinstall Debian i386 32b Buster. Now WiFi won't
> turn on. In Xfce desktop "Advanced Network Manager" shows the WiFi
> provider, but "Save" button's grey passive; not possible to turn on.
> Installed B.a.t.m.a.n another management tool; hope it helps.
> BR,
> Gunnar

Maybe you need to install a firmware. What is the model of your
wireless card? Use lspci or lsusb to find out, depending on how your
card is connected. Also you can use

# dmesg | grep -i firmware

to see messages related to firmware (if there are any).



Re: Thunderbird problems

2021-06-15 Thread Marko Randjelovic
On Mon, 14 Jun 2021 23:22:41 -0400
Frank McCormick  wrote:

> I filed a bug report with Mozilla. Perhaps I should do the same with Debian?


Of course, Mozilla cannot solve Debian bugs and it looks like the bug
is from Debian. It is possible the bug is from Thunderburd (not
Mozilla as Thunderbird is not part of Mozilla anymore), but still if you
don't know it the correct way is to report the bug to Debian and if they
determine the bug is upstream they will forward it.



Re: Battery drain with poweroff

2021-02-08 Thread Marko Randjelovic
Hi all,

On Mon, 8 Feb 2021 13:26:12 +0100
Nicolas George  wrote:
> Now I need a way to apply it; apparently I need some way to boot
> Windows. I hope I will not need to overwrite the complete drive with the
> backup image I made.

There is a program named 'flashrom' in Debian, but I don't know how
reliable is it as BIOS flash is quite a dangerous operation. I decided
to risk several years ago on an AMD system with MSI motherboard and was
successful.

Regards,
Marko


pgpbyinqH4rjU.pgp
Description: OpenPGP digital signature


Re: NULL pointer dereference

2020-12-20 Thread Marko Randjelovic
On Sat, 19 Dec 2020 17:13:13 +0100
Grzesiek Sójka  wrote:

> Hi there,
> 
> I found the following in my "server" log:
> 
> ==
> 
> BUG: unable to handle kernel NULL pointer dereference at 0008
> PGD 0 P4D 0
> Oops:  [#2] SMP PTI
> CPU: 5 PID: 12441 Comm: awk Tainted: G  D   4.19.0-13-amd64 
> #1 Debian 4.19.160-2
> Hardware name: FUJITSU D3162-B1/D3162-B1, BIOS V4.6.5.3 R1.23.0 for 
> D3162-B1x 12/01/2014
> RIP: 0010:unmap_page_range+0x561/0xa60
> Code: 80 00 00 00 01 e8 4f 2b 01 00 49 8b 07 f6 c4 80 0f 84 0e 03 00 00 
> 4c 89 ff e8 6b 91 fe ff 85 c0 0f 88 e6 02 00 00 49 8b 46 28 <8b> 50 08 
> 8d 4a 01 89 48 08 4c 89 7c d0 10 3b 48 0c 0f 84 d2 00 00
> RSP: 0018:9c3a49167cd0 EFLAGS: 00010206
> RAX:  RBX: 8e2f47a83a10 RCX: 0001
> RDX:  RSI:  RDI: 8e2f7dd2
> RBP: 7faa2ed43000 R08:  R09: 8e2ef8ae1c70
> R10: 8e2f9e5df000 R11:  R12: 7faa2ed42000
> R13: 00014fd44025 R14: 9c3a49167dd0 R15: d073853f5100
> FS:  () GS:8e2f7e14() knlGS:
> CS:  0010 DS:  ES:  CR0: 80050033
> CR2: 0008 CR3: 00015020a003 CR4: 000606e0
> Call Trace:
>   unmap_vmas+0x7f/0xb0
>   exit_mmap+0xaa/0x180
>   mmput+0x54/0x130
>   do_exit+0x33f/0xbb0
>   ? handle_mm_fault+0xd6/0x200
>   do_group_exit+0x3a/0xa0
>   __x64_sys_exit_group+0x14/0x20
>   do_syscall_64+0x53/0x110
>   entry_SYSCALL_64_after_hwframe+0x44/0xa9
> RIP: 0033:0x7faa2eaa99d6
> Code: Bad RIP value.
> RSP: 002b:7ffd860931d8 EFLAGS: 0246 ORIG_RAX: 00e7
> RAX: ffda RBX: 7faa2eb9a760 RCX: 7faa2eaa99d6
> RDX:  RSI: 003c RDI: 
> RBP:  R08: 00e7 R09: ff80
> R10: 7ffd86093096 R11: 0246 R12: 7faa2eb9a760
> R13: 0001 R14: 7faa2eba3428 R15: 
> Modules linked in: ppp_deflate cfg80211 rfkill 8021q garp stp mrp llc 
> ppp_async crc_ccitt ppp_generic slhc nfsd auth_rpcgss nfs_acl lockd 
> grace sunrpc xt_nat nft_chain_nat_ipv4 nf_nat_ipv4 nf_nat nf_conntrack 
> nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ipt_REJECT nf_reject_ipv4 
> nft_limit xt_limit xt_tcpudp nft_compat x_tables nft_counter nf_tables 
> nfnetlink binfmt_misc bonding sch5636 sch56xx_common rc_it913x_v1 it913x 
> af9033 dvb_usb_af9035 dvb_usb_v2 dvb_core rc_core snd_hda_codec_hdmi 
> snd_hda_codec_conexant snd_hda_codec_generic intel_rapl i915 
> x86_pkg_temp_thermal snd_hda_intel intel_powerclamp snd_hda_codec 
> coretemp snd_hda_core snd_hwdep snd_pcm xhci_pci ehci_pci ahci snd_timer 
> xhci_hcd drm_kms_helper ehci_hcd libahci kvm snd mei_wdt tg3 iTCO_wdt 
> irqbypass mei_me e1000e drm libata usbcore
>   iTCO_vendor_support soundcore lpc_ich libphy mei i2c_algo_bit 
> usb_common mfd_core crct10dif_pclmul crc32_pclmul ppdev 
> ghash_clmulni_intel sg i2c_i801 intel_cstate evdev intel_uncore 
> pcc_cpufreq video parport_pc button intel_rapl_perf pcspkr parport ext4 
> crc16 mbcache jbd2 crc32c_generic fscrypto ecb sd_mod crc32c_intel 
> aacraid aesni_intel aes_x86_64 crypto_simd scsi_mod cryptd glue_helper 
> thermal fan
> CR2: 0008
> ---[ end trace 1f0672175c6e1ff0 ]---
> RIP: 0010:unmap_page_range+0x55d/0xa60
> Code: ff 83 ac 84 80 00 00 00 01 e8 4f 2b 01 00 49 8b 07 f6 c4 80 0f 84 
> 0e 03 00 00 4c 89 ff e8 6b 91 fe ff 85 c0 0f 88 e6 02 00 00 <49> 8b 46 
> 28 8b 50 08 8d 4a 01 89 48 08 4c 89 7c d0 10 3b 48 0c 0f
> RSP: 0018:9c3a43a67cd0 EFLAGS: 00010202
> RAX: 0004 RBX: 8e2f47a0deb0 RCX: 0001
> RDX:  RSI:  RDI: 8e2f7dd2
> RBP: 7f9f121d7000 R08:  R09: 8e2f6a6e09c0
> R10: 8e2f9e5df000 R11:  R12: 7f9f121d6000
> R13: 00081e49f025 R14: 9c3a43a67dd0 R15: d073a07927c0
> FS:  () GS:8e2f7e14() knlGS:
> CS:  0010 DS:  ES:  CR0: 80050033
> CR2: 7faa2eaa99ac CR3: 00015020a003 CR4: 000606e0
> Fixing recursive fault but reboot is needed!
> 
> 
> 
> This is not the first time, so I suspect a persistent problem. I have no 
> idea how to look for the solution. Any suggestions??
> Just in case:
> 
> 
> 
> # lspci
> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor 
> Family DRAM Controller (rev 09)
> 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core 
> Processor Family PCI Express Root Port (rev 09)
> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
> Processor Family Integrated Graphics Controller (rev 09)
> 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset 
> Family USB xHCI Host Controller 

Re: Installing Debian 10 from flash drive [NO network]

2020-11-21 Thread Marko Randjelovic
On Sat, 21 Nov 2020 09:11:18 -0600
Richard Owlett  wrote:

> On 11/20/2020 10:56 AM, Marko Randjelovic wrote:
> > On Fri, 20 Nov 2020 09:35:04 -0600
> > Richard Owlett  wrote:
> >   
> >>
> >> I attempted to install gparted using Synaptic.
> >> The message received was:
> >>
> >> "Please insert the disk labeled:
> >> Debian GNU/Linux10.0.0_Buster_-Official amd64 DVD
> >> Binary-120190706-10:24
> >> in drive /media/cdrom/"
> >>
> >> What is the solution?  
> > 
> > As of my experience, th only solution is this:
> > 
> > Insert the flash.
> > # mkdir /media/usb0
> > # mount /dev/sdb /media/usb0 # (replace sdb with device node of your
> > flash)
> > # rm /media/cdrom
> > # ln -s usb0 /media/cdrom
> > # apt-get update
> > # apt-get install gparted  
> 
> That appears to be a more rigorously correct rendition of what I 
> partially recalled. I remembered only the "mount" command was part of it.

The essential fact is that APT always looks any disk in /media/cdrom.
If you want to add another disk, it's possible, but first you have to
mount it somewhere and make /media/cdrom point to that dir. The same
trick you use when you are asked to insert another disk during
install/upgrade packages.



Re: Installing Debian 10 from flash drive [NO network]

2020-11-20 Thread Marko Randjelovic
On Fri, 20 Nov 2020 09:35:04 -0600
Richard Owlett  wrote:

> 
> I attempted to install gparted using Synaptic.
> The message received was:
> 
> "Please insert the disk labeled:
> Debian GNU/Linux10.0.0_Buster_-Official amd64 DVD
> Binary-120190706-10:24
> in drive /media/cdrom/"
> 
> What is the solution?

As of my experience, th only solution is this:

Insert the flash.
# mkdir /media/usb0
# mount /dev/sdb /media/usb0 # (replace sdb with device node of your
flash)
# rm /media/cdrom
# ln -s usb0 /media/cdrom
# apt-get update
# apt-get install gparted



Re: Juk hangs after launch

2020-09-26 Thread Marko Randjelovic
On Sat, 26 Sep 2020 14:09:28 +0200 (CEST)
local10  wrote:

> Hi,
> 
> Installed a kernel update and soft-rebooted the system to load the new kernel 
> while juk was playing. After the system came back, juk cannot be launched, it 
> just hangs and cannot even show its initial window properly. When I try to 
> close the juk window, KDE says "Application "juk" is not responding" and 
> offers to terminate juk.
> 
> It looks like something got screwed up with juk configuration while the 
> system was being shut down for reboot. I don't mind losing old juk config 
> files and starting anew, just can't find them. Checked ~/.config, ~/.cache, 
> ~/.kde/share but there appear to be no juk config files with the exception of 
> ~/.config/jukrc .
> 
> Any ideas? Thanks
> 
> # echo "This is a Debin 10 Buster PC"; uname -a
> This is a Debin 10 Buster PC
> Linux tst 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64 
> GNU/Linux
> 
> # aptitude show juk
> Package: juk
> Version: 4:18.08.1-1
> State: installed

Hi local10,

Launch juk from terminal to be able to see its debugging messages. Also
you can reboot with the old kernel to see if juk works, maybe your new
kernel introduced some bug.

Regards,
Marko



Re: query about kernel, download options, sessions

2020-09-08 Thread Marko Randjelovic
On Tue, 8 Sep 2020 10:45:41 +
nenu crok  wrote:

> i am privacy freak, hence not using android. however, after seeing size of 
> libreoffice, is there any way an option to download only small portion. i 
> have overheard aboout similar option in our os debian. this is must, only 
> metered ethernet or wifi connections in my area. i am specifically interested 
> about disadvantages compared to full package or normal update or upgrade.

You can download only parts of libreoffice that you need, e.g.

apt install libreoffice-writer libreoffice-calc

Also, you can use --no-install-recommends option:

apt-get --no-install-recommends install libreoffice-writer libreoffice-calc

Regards,
Marko



Re: virt-install returns error

2020-09-04 Thread Marko Randjelovic
On Tue, 1 Sep 2020 21:57:59 -0500
Charles Zeitler  wrote:

> [27901.892175] audit: type=1400 audit(1599004754.496:57):
> apparmor="DENIED" operation="open"
> profile="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae"
> name="/sys/devices/system/node/" pid=9 comm="qemu-system-x86"
> requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
> [27901.892187] audit: type=1400 audit(1599004754.496:58):
> apparmor="DENIED" operation="open"
> profile="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae"
> name="/sys/devices/system/cpu/" pid=9 comm="qemu-system-x86"
> requested_mask="r" denied_mask="r" fsuid=64055 ouid=0

You have DENIED entries where apparmor prevents qemu-system-x86 to
access files /sys/devices/system/node/ and /sys/devices/system/cpu/.
Try to edit apparmor profile for qemu-system-x86 and reload it
afterwards. Profiles are located in /etc/apparmor.d. There are guides
on the web how to do it.

Regards,
Marko



Re: stretch uefi install ends up with no framebuffer for console

2020-07-18 Thread Marko Randjelovic
On Fri, 17 Jul 2020 16:45:33 +
rbraun204  wrote:

> Hey all,  i'm installing stretch onto a HP Z4G4 workstation via
> netboot and in uefi mode.   The only video hardware in the box is a
> NVIDIA Corporation GP107GL [Quadro P620].   The install goes as
> expected.  Only installed standard utils and ssh server.
> 
> On first boot grub comes up and boots into the default entry,   the
> only text after on the screen is the loading linux/initrd echo entries
> from grub.   Thought it was frozen, but noticed my dhcp service got a
> req from the box and sure enough i can ssh in and the machine is up
> and running,  just no output to the monitor.   Still just the grub
> statements up on the screen.
> 
> running hwinfo --framebuffer results in no output.
> 
> efifb appears to get loaded and has grubs resolution
> [1.451694] efifb: probing for efifb
> [1.451712] efifb: framebuffer at 0xe000, using 8640k, total 8640k
> [1.451712] efifb: mode is 1920x1080x32, linelength=8192, pages=1
> [1.451713] efifb: scrolling: redraw
> [1.451713] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
> [1.484650] fb0: EFI VGA frame buffer device
> 
> 
> installed the latest kernel from stretch-backports, reboot.  Same
> behavior as above.
> 
> Installed nvidia-driver (proper for this gpu), reboot.  Same behavior as 
> above.
> 
> Upgraded to nvidia-driver from backports,  reboot.  Same behavior as above.
> 
> Install some desktop environment,  reboot.   system boots into X no
> issues.  Try a ctrl-alt-f1 to drop to console and monitor shuts off
> reporting no video output.   ctrl-alt-f7 brings video and monitor back
> online.
> 
> Moved on to trying to massage /etc/default/grub and setting
> GRUB_GFXMODE and GRUB_GFXPAYLOAD_LINUX. And can make grub look pretty
> at 1920x1080 or any resolution if I want. It appears grub is passing
> the video resolution properly to the kernel as I can see in dmesg when
> efifb is loaded the resolution it's looking to set is the value of
> GRUB_GFXMODE.  For shits and giggles tried setting gfxmode to 1024x768
> and still no dice.
> 
> Tried booting into the grub commandline to verify video modes.  Sure
> enough grub reports efi GOP driver and 1920x1080x32 as a valid mode.
> 
> Anyone have any ideas?
> 
> Thanks
> 
> Ryan
> 

Hi Ryan,

Check if your video card needs a firmware. Also check if it needs a
kernel module. 

Regards,
Marko



Re: which package to file a bug against?

2020-06-20 Thread Marko Randjelovic
Hi Matt Zagrabelny,

On Sat, 20 Jun 2020 08:54:52 -0500
Matt Zagrabelny  wrote:

> Greetings d-u,
> 
> I have a new-ish laptop and a pair of the function keys (screen
> brighter/dimmer) are mapped to the wrong function (mic mute/unmute).
> 
> Where should I look to file the bug?

Use reportbug tool to file a bug.
> 
> I'm aware it is ACPI related, but I do not have any packages installed
> that have "acpi" in the package name.

Try this to list all packages that are installed and have acpi in
either package name and description:

apt-cache search acpi | while read package_name rest; do if dpkg -l 
$package_name &>/dev/null; then echo $package_name; fi; done

Also, kernel has support for ACPI.

And it's not necessary to know exact package which is to blame, as
package maintainers can reassign a bug report to another package.

Regards, 
Marko



Re: why flash fails for this web site?

2019-07-23 Thread Marko Randjelovic
On Sun, 21 Jul 2019 21:04:27 + (UTC)
Long Wind  wrote:

> my firefox for stretch can display flash, for example: 
> http://www.10jqka.com.cn/flash/
> but it can't display 
> https://www.gtja.com/jccy/syhq.htmli can't see any error msg, the page is 
> blank
> 
> my other stretch can display https://www.gtja.com/jccy/syhq.html

Maybe your flash plugins are different, or totally missing from the
first installation. Are you sure the content you are playing is for
flash?



Re: update to new kernel

2019-05-08 Thread Marko Randjelovic
On Wed, 8 May 2019 11:49:18 -0400
Default User  wrote:

> So, since
> linux-image-4.19.0-5-amd64  - Linux 4.19 for 64-bit PCs
> (signed)
> seems to be available, why did updating not update the kernel from
> linux-image-4.19.0-4-amd64 to linux-image-4.19.0-5-amd64?

Because linux-image-4.19.0-4-amd64 and linux-image-4.19.0-5-amd64 are
two different packages, not two versions of a package. Install 
linux-image-amd64 package which depends on newest kernel version and it
will pull linux-image-4.19.0-5-amd64.



Re: System in broken state after dpkg upgrade

2016-09-07 Thread Marko Randjelovic
On Wed, 07 Sep 2016 18:24:29 +0200
Sven Joachim  wrote:

> On 2016-09-07 17:13 +0200, Marko Randjelovic wrote:
> 
> > On Wed, 07 Sep 2016 15:17:23 +0200
> > Sven Joachim  wrote:
> >
> >> File a bug against dpkg.  In the meantime, rebooting with the
> >> "selinux=0" kernel parameter should give you a working dpkg.
> >
> > After rebooting with 'selinux=0' I reinstalled dpkg with success:
> >
> > dpkg -i /var/cache/apt/archives/dpkg_deb
> >
> > However, then I wanted to install reportbug and during install received
> > the same error.
> 
> Which is not surprising if you had rebooted without that kernel
> parameter again.  Don Armstrong already gave the right hint: your
> selinux policy does not know about dpkg_script_t, and you should upgrade
> your selinux-policy-* package(s) to the jessie version.  See the
> changelogs of dpkg and refpolicy:

setenforce 0 works, there is no need to reboot the whole system. On the
other hand, I cannot upgrade selinux policy from jessie because there is
no selinux-policy-default in jessie, although there is in testing.

> 
> ,
> | dpkg (1.17.0) unstable; urgency=low
> | [...]
> |   * Execute maintainer scripts in a new execution context, based on the
> | current one and the specific maintainer script filename, and if it's
> | not different to the current one, use "dpkg_script_t" as a fallback.
> `
> 
> ,
> | refpolicy (2:2.20140206-1) unstable; urgency=medium
> | [...]
> | - Allow unconfined user to transition to dpkg_t and transitively to
> |   dpkg_script_t (Closes: #707214)
> `
> 
> See https://bugs.debian.org/707214 for more information.
> 
> Cheers,
>Sven
> 



-- 
http://markorandjelovic.hopto.org

"The only thing necessary for the triumph of evil is that good people
do nothing." -- Edmund Burke



Re: System in broken state after dpkg upgrade

2016-09-07 Thread Marko Randjelovic
On Wed, 07 Sep 2016 15:17:23 +0200
Sven Joachim  wrote:

> File a bug against dpkg.  In the meantime, rebooting with the
> "selinux=0" kernel parameter should give you a working dpkg.

After rebooting with 'selinux=0' I reinstalled dpkg with success:

dpkg -i /var/cache/apt/archives/dpkg_deb

However, then I wanted to install reportbug and during install received
the same error.


root@debian:~# apt-get install reportbug
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following extra packages will be installed:
  python-debian python-debianbts python-fpconst python-reportbug python-soappy
Suggested packages:
  postfix exim4 mail-transport-agent debconf-utils debsums dlocate
  python-urwid python-vte python-gtkspell emacs22-bin-common
  emacs23-bin-common claws-mail
Recommended packages:
  python-apt
The following NEW packages will be installed:
  python-debian python-debianbts python-fpconst python-reportbug python-soappy
  reportbug
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/468 kB of archives.
After this operation, 1,819 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Selecting previously unselected package python-debian.
(Reading database ... 115166 files and directories currently installed.)
Preparing to unpack .../python-debian_0.1.21_all.deb ...
Unpacking python-debian (0.1.21) ...
Selecting previously unselected package python-fpconst.
Preparing to unpack .../python-fpconst_0.7.2-5_all.deb ...
Unpacking python-fpconst (0.7.2-5) ...
Selecting previously unselected package python-soappy.
Preparing to unpack .../python-soappy_0.12.0-4_all.deb ...
Unpacking python-soappy (0.12.0-4) ...
Selecting previously unselected package python-debianbts.
Preparing to unpack .../python-debianbts_1.11_all.deb ...
Unpacking python-debianbts (1.11) ...
Selecting previously unselected package python-reportbug.
Preparing to unpack .../python-reportbug_6.4.4+deb7u1_all.deb ...
Unpacking python-reportbug (6.4.4+deb7u1) ...
Selecting previously unselected package reportbug.
Preparing to unpack .../reportbug_6.4.4+deb7u1_all.deb ...
Unpacking reportbug (6.4.4+deb7u1) ...
Processing triggers for desktop-file-utils (0.20-0.1) ...
dpkg (subprocess): cannot set security execution context for maintainer script: 
Invalid argument
dpkg: error processing package desktop-file-utils (--unpack):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for man-db (2.7.0.2-5) ...
dpkg (subprocess): cannot set security execution context for maintainer script: 
Invalid argument
dpkg: error processing package man-db (--unpack):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 desktop-file-utils
 man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:~# setenforce 0
root@debian:~# apt-get install reportbug
Reading package lists... Done
Building dependency tree   
Reading state information... Done
reportbug is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up man-db (2.7.0.2-5) ...
Updating database of manual pages ...
Setting up python-debian (0.1.21) ...
Setting up python-fpconst (0.7.2-5) ...
Setting up python-soappy (0.12.0-4) ...
Setting up python-debianbts (1.11) ...
Setting up python-reportbug (6.4.4+deb7u1) ...
Setting up reportbug (6.4.4+deb7u1) ...
Setting up desktop-file-utils (0.20-0.1) ...
Processing triggers for python-support (1.0.15) ...
root@debian:~# apt-cache policy libselinux1
libselinux1:
  Installed: 2.3-2
  Candidate: 2.3-2
  Version table:
 2.5-3 0
350 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
 *** 2.3-2 0
450 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
 2.1.9-5 0
500 cdrom://[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 DVD 
Binary-1 20150110-14:43]/ wheezy/main amd64 Packages
500 http://ftp.de.debian.org/debian/ wheezy/main amd64 Packages
root@debian:~# apt-cache policy libpcre3
libpcre3:
  Installed: 2:8.35-3.3+deb8u4
  Candidate: 2:8.35-3.3+deb8u4
  Version table:
 2:8.39-2 0
350 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
 *** 2:8.35-3.3+deb8u4 0
450 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
 1:8.30-5 0
500 cdrom://[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 DVD 
Binary-1 20150110-14:43]/ wheezy/main amd64 Packages
500 http://ftp.de.debian.org/debian/ wheezy/main amd64 Packages

-- 
http://markorandjelovic.hopto.org

"The only thing necessary for the triumph of evil is that good people
do nothing." -- Edmund Burke



Re: System in broken state after dpkg upgrade

2016-09-07 Thread Marko Randjelovic
On Wed, 07 Sep 2016 15:17:23 +0200
Sven Joachim  wrote:

> This might be a bug in dpkg or in one of the libraries it depends on
> (libselinux1 comes to mind).  What are the versions of libselinux1 and
> libpcre3 on your system?

They are both latest jessie versions.

-- 
http://markorandjelovic.hopto.org

"The only thing necessary for the triumph of evil is that good people
do nothing." -- Edmund Burke



System in broken state after dpkg upgrade

2016-09-07 Thread Marko Randjelovic
I have mixed wheezy/jessie system. When tried to upgrade cmake from
jessie, apt pulled other packages including dpkg which gave error
during configure:


root@debian:~# apt-get -t jessie install cmake
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following package was automatically installed and is no longer required:
  libxmlrpc-core-c3
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  cmake-data dpkg fontconfig install-info libarchive13 libpipeline1 man-db
Suggested packages:
  codeblocks eclipse ninja-build lrzip groff
The following NEW packages will be installed:
  libarchive13
The following packages will be upgraded:
  cmake cmake-data dpkg fontconfig install-info libpipeline1 man-db
7 upgraded, 1 newly installed, 0 to remove and 791 not upgraded.
Need to get 8,200 kB of archives.
After this operation, 3,399 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://security.debian.org/ jessie/updates/main fontconfig amd64 
2.11.0-6.3+deb8u1 [403 kB]
Get:2 http://ftp.de.debian.org/debian/ jessie/main install-info amd64 
5.2.0.dfsg.1-6 [193 kB]
Get:3 http://ftp.de.debian.org/debian/ jessie/main libpipeline1 amd64 1.4.0-1 
[27.9 kB]
Get:4 http://ftp.de.debian.org/debian/ jessie/main man-db amd64 2.7.0.2-5 
[1,000 kB]
Get:5 http://security.debian.org/ jessie/updates/main libarchive13 amd64 
3.1.2-11+deb8u2 [270 kB]
Get:6 http://ftp.de.debian.org/debian/ jessie/main dpkg amd64 1.17.27 [2,994 kB]
Get:7 http://ftp.de.debian.org/debian/ jessie/main cmake amd64 3.0.2-1 [2,384 
kB]
Get:8 http://ftp.de.debian.org/debian/ jessie/main cmake-data all 3.0.2-1 [929 
kB]
Fetched 8,200 kB in 9s (845 kB/s)  
Preconfiguring packages ...
(Reading database ... 115145 files and directories currently installed.)
Preparing to replace fontconfig 2.9.0-7.1+deb7u1 (using 
.../fontconfig_2.11.0-6.3+deb8u1_amd64.deb) ...
Unpacking replacement fontconfig ...
Preparing to replace install-info 4.13a.dfsg.1-10 (using 
.../install-info_5.2.0.dfsg.1-6_amd64.deb) ...
Unpacking replacement install-info ...
Processing triggers for man-db ...
Setting up install-info (5.2.0.dfsg.1-6) ...
(Reading database ... 115145 files and directories currently installed.)
Preparing to replace libpipeline1:amd64 1.2.1-1 (using 
.../libpipeline1_1.4.0-1_amd64.deb) ...
Unpacking replacement libpipeline1:amd64 ...
Preparing to replace man-db 2.6.2-1 (using .../man-db_2.7.0.2-5_amd64.deb) ...
Unpacking replacement man-db ...
Preparing to replace dpkg 1.16.18 (using .../dpkg_1.17.27_amd64.deb) ...
Unpacking replacement dpkg ...
Processing triggers for mime-support ...
Setting up dpkg (1.17.27) ...
Installing new version of config file /etc/cron.daily/dpkg ...
dpkg (subprocess): cannot set security execution context for maintainer script: 
Invalid argument
dpkg: error processing package dpkg (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 dpkg
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:~# dpkg --configure -a
Setting up libpipeline1:amd64 (1.4.0-1) ...
dpkg (subprocess): cannot set security execution context for maintainer script: 
Invalid argument
dpkg: error processing package libpipeline1:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up dpkg (1.17.27) ...
dpkg (subprocess): cannot set security execution context for maintainer script: 
Invalid argument
dpkg: error processing package dpkg (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of man-db:
 man-db depends on libpipeline1 (>= 1.3.0); however:
  Package libpipeline1:amd64 is not configured yet.
 man-db depends on dpkg (>= 1.16.1~); however:
  Package dpkg is not configured yet.

dpkg: error processing package man-db (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fontconfig:
 fontconfig depends on dpkg (>= 1.16.1); however:
  Package dpkg is not configured yet.

dpkg: error processing package fontconfig (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpipeline1:amd64
 dpkg
 man-db
 fontconfig
root@debian:~# apt-get -f install
Reading package lists... Done
Building dependency tree   
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up dpkg (1.17.27) ...
dpkg (subprocess): cannot set security execution context for maintainer script: 
Invalid argument
dpkg: error processing package dpkg (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up libpipeline1:amd64 (1.4.0-1) ...

Re: Problem upgrading libc6 on sid

2016-02-01 Thread Marko Randjelovic
On Mon, 1 Feb 2016 07:41:47 -0500
Brad Alexander  wrote:

> I have an openvz container that I am having a hard time upgrading libc6.
> Whether I use dpkg -i, apt-get, or aptitude, I get the same result.
> 
> (Reading database ... 56136 files and directories currently installed.)
> Preparing to unpack .../archives/libc6_2.21-7_i386.deb ...
> Checking for services that may need to be restarted...
> Checking init scripts...
> 
> And then it hangs forever. All of the other containers on this machine have
> been upgraded. Suggestions on why this particular one one will not upgrade.
> 
> Suggestions?
> --b

If you are working from remote machine, the problem might be restarting
services which kills your connection.

Regards,
Marko

-- 
Please visit my blog at markorandjelovic.hopto.org.



Re: mencoder - Skipped and duplicate frames when recording from TV

2016-01-02 Thread Marko Randjelovic
On Sat, 02 Jan 2016 16:00:13 +0100
Sven Arvidsson  wrote:

> On Sat, 2016-01-02 at 15:27 +0100, Marko Randjelovic wrote:
> > This is my standard command which always worked perfectly and now it
> > doesn't. There were dropped frames from sometimes but uncomparably
> > rarer and audio and video were well synchronized.
> > 
> > mencoder -endpos 1800 -o t -oac pcm -ovc x264 -x264encopts
> > qp=25:nr=0:preset=ultrafast:keyint_min=10:keyint=125 -tv
> > driver=v4l2:device=/dev/video-t:input=0:outfmt=uyvy:chanlist=europe-
> > east:width=768:height=576:fps=25:norm=PAL-
> > BG:volume=99:amode=1:audiorate=44100:alsa tv://E8
> 
> No idea why the behaviour have changed, but you could try:
> 
> -mc 0 -noskip
> 

without skipping frames, there is no way to correct a/v desync and in
my case after a few minutes it becomes (too) noticable.

regards


signature.asc
Description: PGP signature


Re: mencoder - Skipped and duplicate frames when recording from TV

2016-01-02 Thread Marko Randjelovic
On Sat, 02 Jan 2016 14:03:27 +0100
Sven Arvidsson  wrote:

> Are you using the noskip options in mencoder?

This is my standard command which always worked perfectly and now it
doesn't. There were dropped frames from sometimes but uncomparably
rarer and audio and video were well synchronized.

mencoder -endpos 1800 -o t -oac pcm -ovc x264 -x264encopts 
qp=25:nr=0:preset=ultrafast:keyint_min=10:keyint=125 -tv 
driver=v4l2:device=/dev/video-t:input=0:outfmt=uyvy:chanlist=europe-east:width=768:height=576:fps=25:norm=PAL-BG:volume=99:amode=1:audiorate=44100:alsa
 tv://E8

Regards,
Marko


signature.asc
Description: PGP signature


Re: mencoder - Skipped and duplicate frames when recording from TV

2016-01-02 Thread Marko Randjelovic
On Sat, 2 Jan 2016 13:36:12 +0100
Nicolas George  wrote:

> > Marko Randjelovic wrote:
> > > With 'noaudio' option, messages about skipped/duplicate frames do not
> > > appear anymore and recorded file plays smoothlty, so appears that the
> > > problem is in mixing audio and video frames. I use default container
> > > (AVI). I tried to switch to Matroska and MPEG but got even more
> > > problems.
> > > 
> > > I also tried to lower video quality to make sure it's not because of
> > > slowness of hard drive and it isn't (frames are still dropped).
> 
> Have you tried ffmpeg? mencoder has not been maintained for quite some time,
> and unless you are using features only available in it (mostly: DVD), ffmpeg
> is the recommended too nowadays?
> 
> (With x264 encoding, the thread_queue_size option will likely be necessary.
> It is only available in the genuine ffmpeg.)

How many times I have to say till reinstall everything worked fine. I
have two files from April that are perfect. It's long time ago because
I didn't use this feature of my computer. It's possible it was broken
even before reinstall as I didn't use this feature since April 2015,
but nothing big changed since than. Maybe one or two security updates
, but maybe none. I use standard packages. 

In April I used version of mencoder from squeeze-backports and now I
tried both the same version and wheezy version and they both work bad.

And I never standardly used ffmpeg for x264.

Regards,
Marko


signature.asc
Description: PGP signature


Re: mencoder - Skipped and duplicate frames when recording from TV

2016-01-02 Thread Marko Randjelovic
On Sat, 02 Jan 2016 13:19:51 +0100
deloptes  wrote:

> Marko Randjelovic wrote:
> 
> > On Sat,  2 Jan 2016 11:53:03 +0100
> > Marko Randjelovic  wrote:
> > 
> >> I eliminated all but essential options, but nothing changed. I can
> >> further try only without audio to see if the problem is related to mixing
> >> audio and video.
> > 
> > With 'noaudio' option, messages about skipped/duplicate frames do not
> > appear anymore and recorded file plays smoothlty, so appears that the
> > problem is in mixing audio and video frames. I use default container
> > (AVI). I tried to switch to Matroska and MPEG but got even more
> > problems.
> > 
> > I also tried to lower video quality to make sure it's not because of
> > slowness of hard drive and it isn't (frames are still dropped).
> > 
> > Regards,
> > Marko
> 
> It seems AAC is good one for x264. Check the video vs audio bitrate - try
> with fixed bitrate
> 
> regards

$ mencoder -of avi -o t.avi -oac lavc -lavcopts acodec=libfaac
-ovc x264 -x264encopts bitrate=500:preset=veryfast -tv 
device=/dev/video-t:norm=PAL-BG:alsa tv://E7
...
Audio LAVC, couldn't find encoder for codec libfaac.

Exiting...
$ dpkg -l | grep aac
ii  faac   1.28-0.3   an AAC audio encoder
ii  libfaac0   1.28-0.3   an AAC audio encoder - library files

regards



Re: mencoder - Skipped and duplicate frames when recording from TV

2016-01-02 Thread Marko Randjelovic
On Sat, 02 Jan 2016 12:39:13 +0100
deloptes  wrote:

> Marko Randjelovic wrote:
> 
> > Regarding hardware, I've said before reinstall everything was working, and
> > nothing changed in hardware. I use libx264 and preset=ultrafast which is
> > quite easy for my CPU. According to 'top', my CPU is 89% idle and mencoder
> > is taking only 14% of my CPU.
> 
> This looks good. I don't know the x264 in detail. Look here
> http://help.encoding.com/knowledge-base/article/advanced-configuration-options-for-the-libx264-video-codec/

The problem disappears with noaudio option so I doubth this article
would help.

Regards,
Marko

> 
> try different options - especially the once dealing with frames. I wouldn't
> skip the audio, but perhaps you have to look for compatible audio encoder.
> 
> for me it was an exciting try and fail game until it worked properly
> 
> regards



Re: mencoder - Skipped and duplicate frames when recording from TV

2016-01-02 Thread Marko Randjelovic
On Sat,  2 Jan 2016 11:53:03 +0100
Marko Randjelovic  wrote:

> I eliminated all but essential options, but nothing changed. I can further try
> only without audio to see if the problem is related to mixing audio and video.

With 'noaudio' option, messages about skipped/duplicate frames do not
appear anymore and recorded file plays smoothlty, so appears that the
problem is in mixing audio and video frames. I use default container
(AVI). I tried to switch to Matroska and MPEG but got even more
problems.

I also tried to lower video quality to make sure it's not because of
slowness of hard drive and it isn't (frames are still dropped).

Regards,
Marko



Re: mencoder - Skipped and duplicate frames when recording from TV

2016-01-02 Thread Marko Randjelovic
Quoting deloptes :

> Marko Randjelovic wrote:
> 
> > I use Squeeze on this machine. It has TV card:
> > Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder
> > 
> > When recording from this TV card with mencoder, every 0.15s on average,
> > a message is output from mencoder:
> > 
> > 1 duplicate frame(s)!
> > 
> > or
> > 
> > Skipping frame!
> > 
> > When playing recorded file, picture and sound are very loosely
> > synchronized.
> > 
> > Everything worked fine until I reinstalled system. After that, I tried
> > to change relevant packages' versions hoping that will resolve the
> > issue, but it didn't.
> > 
> > Regards
> 
> Hi,
> what are the options you are using for mencoder. Perhaps the problem is not
> in the encoder, but your hardware is slow?
> 
> try adjusting the encoder and check if it has effect

I eliminated all but essential options, but nothing changed. I can further try
only without audio to see if the problem is related to mixing audio and video.

Regarding hardware, I've said before reinstall everything was working, and
nothing changed in hardware. I use libx264 and preset=ultrafast which is quite
easy for my CPU. According to 'top', my CPU is 89% idle and mencoder is taking
only 14% of my CPU.

Regards,
Marko

> 
> before it all got HD I used PAL in europe-west
> 
> TV_DRV="driver=v4l2:outfmt=yuy2:width=640:height=480"
> TV_NORM="norm=PAL:normid=0:chanlist=europe-west"
> TV_DEV="device=/dev/video0:input=0"
>
TV_AUD="forceaudio:forcechan=2:audiorate=48000:amode=1:audioid=1:adevice=/dev/dsp1"
> 
> mencoder -tv $TV_DRV:$TV_NORM:channel=$CH:$TV_DEV:$TV_AUD \
>  -ovc lavc -lavcopts \  
> vcodec=mpeg4:vqmin=2:vbitrate=1200:mbd=1:keyint=300 \
>  -oac lavc -lavcopts acodec=mp3:abitrate=128 \
>  -vf scale,pp=lb,denoise3d -o output.avi tv://
> 
> and this worked pretty well - but this was like 6y ago. Now I would use at
> least 720x400 
> 
> I hope this helps
> 







mencoder - Skipped and duplicate frames when recording from TV

2016-01-01 Thread Marko Randjelovic
I use Squeeze on this machine. It has TV card:
Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder

When recording from this TV card with mencoder, every 0.15s on average,
a message is output from mencoder:

1 duplicate frame(s)!

or

Skipping frame!

When playing recorded file, picture and sound are very loosely
synchronized.

Everything worked fine until I reinstalled system. After that, I tried
to change relevant packages' versions hoping that will resolve the
issue, but it didn't.

Regards



Re: apt stuck at "Reading database"

2015-04-11 Thread Marko Randjelovic
Did you try

apt-get udpate
dpkg --configure -a
apt-get -f install

?


-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150411130547.3a47c...@eunet.rs



Strange kernel error when doing "make modules_install"

2015-03-23 Thread Marko Randjelovic
I use Debian 7.8 with vanilla kernel 3.14 and grsecurity and when rebuildgin 
kernel in order to resolve problem from my previous post, I noticed this in 
syslog:

Mar 23 09:48:24 wrk kernel: [ 2323.105145] [ cut here ]
 Mar 23 09:48:24 wrk kernel: [ 2323.105155] WARNING: CPU: 0 PID: 5821 at 
arch/x86/mm/ioremap.c:63 __ioremap_check_ram+0x9a/0xc1()
 Mar 23 09:48:24 wrk kernel: [ 2323.105158] ioremap on RAM pfn 0x1
 Mar 23 09:48:24 wrk kernel: [ 2323.105159] Modules linked in: ext2 kvm_amd kvm 
option usb_wwan usbserial snd_hda_codec_realtek snd_hda_codec_generic video 
drm_kms_helper ttm backlight snd_hda_intel snd_hda_codec snd_hwdep r8169
 Mar 23 09:48:24 wrk kernel: [ 2323.105176] CPU: 0 PID: 5821 Comm: lilo Not 
tainted 3.14.36-grsec #1
 Mar 23 09:48:24 wrk kernel: [ 2323.105178] Hardware name: MSI MS-7721/A55M-E33 
(MS-7721), BIOS V32.0 11/14/2013
 Mar 23 09:48:24 wrk kernel: [ 2323.105181]    
 c90019d7bb58
 Mar 23 09:48:24 wrk kernel: [ 2323.105185]  81668355 0006 
c90019d7bbb8 c90019d7bb98
 Mar 23 09:48:24 wrk kernel: [ 2323.105188]  810421fb 4111 
81035ebc 818f2a5d
 Mar 23 09:48:24 wrk kernel: [ 2323.105191] Call Trace:
 Mar 23 09:48:24 wrk kernel: [ 2323.105199]  [] 
dump_stack+0x46/0x5e
 Mar 23 09:48:24 wrk kernel: [ 2323.105203]  [] 
warn_slowpath_common+0x7c/0x9e
 Mar 23 09:48:24 wrk kernel: [ 2323.105207]  [] ? 
__ioremap_check_ram+0x9a/0xc1
 Mar 23 09:48:24 wrk kernel: [ 2323.105210]  [] ? 
ioremap_nocache+0x2e/0x2e
 Mar 23 09:48:24 wrk kernel: [ 2323.105214]  [] 
warn_slowpath_fmt+0x53/0x60
 Mar 23 09:48:24 wrk kernel: [ 2323.105218]  [] 
__ioremap_check_ram+0x9a/0xc1
 Mar 23 09:48:24 wrk kernel: [ 2323.105222]  [] 
walk_system_ram_range+0x4c/0x120
 Mar 23 09:48:24 wrk kernel: [ 2323.105226]  [] 
__ioremap_caller+0xd9/0x2ad
 Mar 23 09:48:24 wrk kernel: [ 2323.105229]  [] ? 
xlate_dev_mem_ptr+0x35/0x3f
 Mar 23 09:48:24 wrk kernel: [ 2323.105233]  [] 
ioremap_cache+0x23/0x2b
 Mar 23 09:48:24 wrk kernel: [ 2323.105237]  [] 
xlate_dev_mem_ptr+0x35/0x3f
 Mar 23 09:48:24 wrk kernel: [ 2323.105241]  [] 
read_mem+0x155/0x3a6
 Mar 23 09:48:24 wrk kernel: [ 2323.105246]  [] 
vfs_read+0x13e/0x1b6
 Mar 23 09:48:24 wrk kernel: [ 2323.105249]  [] 
SyS_read+0x55/0x8d
 Mar 23 09:48:24 wrk kernel: [ 2323.105254]  [] 
system_call_fastpath+0x16/0x1b
 Mar 23 09:48:24 wrk kernel: [ 2323.105257] ---[ end trace 0c58f61ff79b9a79 ]---

What could be wrong?

Best regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150323101520.302d1...@eunet.rs



Strange errors from SELinux when long listing directory (ls -l)

2015-03-23 Thread Marko Randjelovic
After I issue command "ls -l" in terminal, as normal user, one or more of this 
messages appear in syslog:

mcstransd: Failed to get context of client process (pid=5390)
mcstransd: Servicing of request failed for fd (5)

When issue as root, nothing is logged.
I notice nothing else related with this errors.
I searched web, but found no mention of this error, except very old Red Hat bug.
What could be wrong?

System is Debian 7.8 with vanilla kernel 3.14 with grsecurity and have
turned on some options related to filesystem hoping could resolve this,
but didn't help.

Best regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150323101043.46135...@eunet.rs



Re: Vetrinary software

2015-02-25 Thread Marko Randjelovic
On Mon, 23 Feb 2015 16:07:33 -0700
Bob Proulx  wrote:

> > http://blends.debian.org/med/tasks
> 
> That is a set of tasks for the Debian Med project.  The question Marko
> asked was what features did Emil need.  Saying to look at the Debian
> Med tasks does not in any way answer the question of what features are
> needed by Emil.

For some reason, Emil did respond only to me. In addition to most
notable software from Debian, GnuMed, FreeMedForms, Clinica, I
recommended him also GNU Health, which is officialy part of GNU.
Features for veterinary he needs are not supported bu these peaces of
software, but due to their libre nature, I don't see why they couldn't
be easily added.

Regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


signature.asc
Description: PGP signature


Re: Vetrinary software

2015-02-22 Thread Marko Randjelovic
On Sun, 22 Feb 2015 03:50:38 -0600
Emil Payne  wrote:

> I see a bunch of medical software, including Clinica & GnuMed, that I 
> can install. However, I don't see anything for veterinarians or animals.
> 
> I'm basically looking for medical record software. Mostly home use, but 
> we rescue cats, so I need something a bit more extensive than just a 
> form to fill out in a word processor.
> 
> 

And what exactly features do you need?

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150222143507.7bbe0...@eunet.rs



Re: Suspicious file found in /dev/shm with Rkhunter

2015-02-20 Thread Marko Randjelovic
On Fri, 20 Feb 2015 12:42:13 +0100
Petter Adsen  wrote:

> 
> Odd.
> 
> Did you (manually) delete the file first? rkhunter probably won't
> delete any files previous runs have created. Also, you could try to grab
> the latest version (1.4.2) from http://rkhunter.sourceforge.net/ and
> install that. It doesn't come in a .deb, however, which is unfortunate.
> 
> Petter
> 

It's no problem to remove them, but rkhunter should do it. I can write a
wrapper as well.

No need for sourceforge, 1.4.2 is in testing currently.

Regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


signature.asc
Description: PGP signature


Re: Suspicious file found in /dev/shm with Rkhunter

2015-02-20 Thread Marko Randjelovic
On Fri, 20 Feb 2015 11:47:02 +0100
Marko Randjelovic  wrote:

> On Fri, 20 Feb 2015 09:44:27 +0100
> Petter Adsen  wrote:
> 
> > On Fri, 20 Feb 2015 08:18:37 +0100
> > Marko Randjelovic  wrote:
> > 
> > > While trying to find out how to eliminate messages:
> > > 
> > > Warning: Hidden directory found: /etc/.java
> > > Warning: Hidden directory found: /dev/.udev
> > > Warning: Hidden directory found: /dev/.initramfs
> > > 
> > > which are made by rkhunter every morning as cron job, one more message
> > > appeared (when ran /etc/cron.daily/rkhunter manualy).
> > > 
> > > Warning: Suspicious file types found in /dev:
> > >  /dev/shm/suspscan.21242.strings: ASCII text
> > > 
> > > You can find the file attached. Besides editing /etc/rkhunter.conf,
> > > man rkhunter, run rkhunter from command line and
> > > run /etc/cron.daily/rkhunter, I was reading https://lists.debian.org
> > > and debian mailing lists messages from my email client. I visited
> > > http://www.turkoglu.me/ which was listed in one of emails with links2
> > > web browser. 
> > 
> > Look at:
> > 
> > http://sourceforge.net/p/rkhunter/mailman/rkhunter-users/thread/1193180950.2751.143.ca...@ash.trees99.org.uk/
> > 
> > It is a file created by rkhunter.
> > 
> > Petter
> > 
> 
> I upgraded rkhunter to 1.3.8-10~bpo60+1 and am trying to see
> if the problem disappeared.
> 
> Regards
> 

Unfortunately, even with Wheezy version, the problem persists.

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150220122434.44a25...@eunet.rs



Re: Suspicious file found in /dev/shm with Rkhunter

2015-02-20 Thread Marko Randjelovic
On Fri, 20 Feb 2015 09:44:27 +0100
Petter Adsen  wrote:

> On Fri, 20 Feb 2015 08:18:37 +0100
> Marko Randjelovic  wrote:
> 
> > While trying to find out how to eliminate messages:
> > 
> > Warning: Hidden directory found: /etc/.java
> > Warning: Hidden directory found: /dev/.udev
> > Warning: Hidden directory found: /dev/.initramfs
> > 
> > which are made by rkhunter every morning as cron job, one more message
> > appeared (when ran /etc/cron.daily/rkhunter manualy).
> > 
> > Warning: Suspicious file types found in /dev:
> >  /dev/shm/suspscan.21242.strings: ASCII text
> > 
> > You can find the file attached. Besides editing /etc/rkhunter.conf,
> > man rkhunter, run rkhunter from command line and
> > run /etc/cron.daily/rkhunter, I was reading https://lists.debian.org
> > and debian mailing lists messages from my email client. I visited
> > http://www.turkoglu.me/ which was listed in one of emails with links2
> > web browser. 
> 
> Look at:
> 
> http://sourceforge.net/p/rkhunter/mailman/rkhunter-users/thread/1193180950.2751.143.ca...@ash.trees99.org.uk/
> 
> It is a file created by rkhunter.
> 
> Petter
> 

I upgraded rkhunter to 1.3.8-10~bpo60+1 and am trying to see
if the problem disappeared.

Regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


signature.asc
Description: PGP signature


Suspicious file found in /dev/shm with Rkhunter

2015-02-19 Thread Marko Randjelovic
While trying to find out how to eliminate messages:

Warning: Hidden directory found: /etc/.java
Warning: Hidden directory found: /dev/.udev
Warning: Hidden directory found: /dev/.initramfs

which are made by rkhunter every morning as cron job, one more message
appeared (when ran /etc/cron.daily/rkhunter manualy).

Warning: Suspicious file types found in /dev:
 /dev/shm/suspscan.21242.strings: ASCII text

You can find the file attached. Besides editing /etc/rkhunter.conf,
man rkhunter, run rkhunter from command line and
run /etc/cron.daily/rkhunter, I was reading https://lists.debian.org
and debian mailing lists messages from my email client. I visited
http://www.turkoglu.me/ which was listed in one of emails with links2
web browser. 

Regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


suspscan.21242.strings
Description: Binary data


Re: unattended-upgrades uncertainty with Unable to get Terminal Size

2015-02-19 Thread Marko Randjelovic
On Thu, 19 Feb 2015 08:41:33 +0200
Brent Clark  wrote:

> Good day Guys
> 
> I just installed and new to unattended-upgrades.
> 
> Looking at the logs this morning I see the folllowing.
> 
> cat 
> /var/log/unattended-upgrades/unattended-upgrades-dpkg_2015-02-19_06\:48\:53.476190.log
>  
> 
> (Reading database ... 60516 files and directories currently installed.)
> Preparing to replace dnsutils 1:9.8.4.dfsg.P1-6+nmu2+deb7u3 (using 
> .../dnsutils_1%3a9.8.4.dfsg.P1-6+nmu2+deb7u4_amd64.deb) ...
> Unpacking replacement dnsutils ...
> 
> snippet
> 
> Processing triggers for man-db ...
> Setting up libisc84 (1:9.8.4.dfsg.P1-6+nmu2+deb7u4) ...
> Setting up libdns88 (1:9.8.4.dfsg.P1-6+nmu2+deb7u4) ...
> 
> snippet
> 
> Setting up dnsutils (1:9.8.4.dfsg.P1-6+nmu2+deb7u4) ...
> Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The 
> COLUMNS and LINES environment variables didn't work. The resize program 
> didn't work. at /usr/lib/perl5/Term/ReadKey.pm line 362,  line 3.
> Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The 
> COLUMNS and LINES environment variables didn't work. The resize program 
> didn't work. at /usr/lib/perl5/Term/ReadKey.pm line 362,  line 3.
> Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The 
> COLUMNS and LINES environment variables didn't work. The resize program 
> didn't work. at /usr/lib/perl5/Term/ReadKey.pm line 362.
> 
> 
> Does anyone know what the 'Unable to get Terminal Size' message is, and 
> how do I g about fixing it.
> 
> Here is my configuration.

The best solution I see is to edit your /etc/cron.daily/apt and set
COLUMNS and LINES environment variables manualy, but
since /usr/lib/perl5/Term/ReadKey.pm belongs to libterm-readkey-perl
package, I would check if this package is installed and if you need it.

On wheezy, this package is not needed for dnsutils. What distro are you
running?

Regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150219140556.04d76...@eunet.rs



Re: Canon PIXMA MG 2922 and 64-bit Debian Wheezy

2015-02-10 Thread Marko Randjelovic
On Tue, 10 Feb 2015 17:26:38 -0500
brian  wrote:

> 
> Hi all, 
> 
> Does anyone know of the whereabouts of a working driver for the Canon
> PIXMA MP 2922 printer/scanner/copier? 
> 
> I did check up before buying the printer, and indications were that
> the drivers from Canon Asia would work (as usual, Canon USA doesn't
> even recognise the existence of Linux as regards drivers), but the
> AMD64 version from Canon Asia produces a segmentation fault :( I did
> try the i386 version, hoping that would work as an alternative
> architecture, but that produced a segmentation fault as well. 
> 
> I don't care about the wireless side of things, it's just going to be
> a local printer hanging off my desktop. 
> 
> Any help appreciated. 
> 
> 
> Brian. 
> 
> 

First, to make things clearer, did you check system requirements for
the driver, such as libc version? 

I didn't find web page for this driver. Can you post it's address?

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150211062640.56680...@eunet.rs



Re: SSL error in (e)links(2) web browers

2015-02-08 Thread Marko Randjelovic
On Fri, 6 Feb 2015 23:08:29 -0700
Bob Proulx  wrote:

> Marko Randjelovic wrote:
> > When I use links2 or elinks web browsers on some websites when https is
> > https://webmail.sbb.rs/
> 
> elinks does not complain about the site.  This may be a bug in elinks
> as it may be ignoring an error.
> 
> I am able to recreate that problem using links2.  And also curl and
> wget.  elinks gives me this error:
> 
>   Verification failure: unable to get local issuer certificate

When I use elinks (Squeeze) with 

set connection.ssl.cert_verify = 1

$ elinks -dump https://webmail.sbb.rs/
ELinks: SSL error

Without:

$ elinks -dump https://webmail.sbb.rs/
  SBB

Prijava

   Korisničko ime [1]_
   Lozinka [2]_
   [3]Captcha Verification Image [4]osveži
   Unesite kod [5]_
   [6]Prijava
   Ukoliko nemate kreiran SBB webmail nalog, možete ga kreirati na portalu
   [7]MojSBB.
   Copyright © 2002 - 2014, SBB. All rights reserved.

References

   Visible links
   4. javascript:void(0);
   7. https://www.mojsbb.rs/sbb_home/faces/cms/


-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


signature.asc
Description: PGP signature


Re: SSL error in (e)links(2) web browers

2015-02-05 Thread Marko Randjelovic
On Thu, 5 Feb 2015 14:06:47 -0700
Bob Proulx  wrote:

> Marko Randjelovic wrote:
> > When I use links2 or elinks web browsers on some websites when https is
> > protocol I get error "Error loading ... SSL error" and page is not
> > loaded.
> 
> This is probably due to the combination of supported protocols.  When
> negotiating the encryption it may not have an overlapping set that
> works.  For example if the site is old and stale and only offers SSLv3
> which has been deprecated then a browser with SSLv3 disabled for
> security will not be able to connect to it.
> 
> Do you have an example https page so that we could examine the offered
> protocols and compare against those supported by those browsers?
> 
> Bob

https://webmail.sbb.rs/?r=s

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


signature.asc
Description: PGP signature


SSL error in (e)links(2) web browers

2015-02-05 Thread Marko Randjelovic
When I use links2 or elinks web browsers on some websites when https is
protocol I get error "Error loading ... SSL error" and page is not
loaded.

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150205134827.4e418...@eunet.rs



Re: Is this a hacking attempt?

2015-01-22 Thread Marko Randjelovic
On Wed, 21 Jan 2015 08:56:33 +0800
Paul Wise  wrote:

> On Wed, Jan 21, 2015 at 2:42 AM, Marko Randjelovic wrote:
> 
> > Fortunately, this works, but there are sites where doesn't.
> 
> Do you have any examples of sites that still need Flash? Obviously
> flash game sites still need it but surely almost all of the web has
> moved away from it at this point?
> 

http://tv1.yle.fi/

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150122135307.6bc00...@eunet.rs



Re: Is this a hacking attempt?

2015-01-20 Thread Marko Randjelovic
On Tue, 20 Jan 2015 17:52:05 +0100
Vincent Deffontaines  wrote:

> Le 2015-01-20 12:40, Marko Randjelovic a écrit :
> > I was running Wheezy Iceweasel with vanilla 3.14 kernel with grsec. I
> > tried to play video on YouTube with gnash plugin but Iceweasel 
> > crashed
> > with alike messages
> >
> > execution attempt in ...
> > Terminating task /usr/lib/iceweasel/iceweasel
> >
> > Full log can be found on http://paste.lisp.org/+343V
> >
> 
> 
> Hi,
> 
> 
> My understanding from the grsec logs you pasted is that gnash tried to 
> allocate more memory than your RLIMIT-MEMLOCK limit (65536), and this is 
> the reason why gnash crashed.
> I wouldn't hint this is sufficient to conclude in hacking. Flash is 
> known well enough for eating a lot of memory at times.
> I would suggest either to try playing "similar" flash from trusted 
> sources (good luck finding them though, maybe @adobe.com - One might 
> also believe youtube.com is a trusted source ) and see if the plugin 
> crashes on them too ; or maybe to raise limit progressively to see where 
> it is accepted.

I tried to raise limit some time ago, but I was unsuccessful. Do you
know how to do it?

> 
> As a side note, youtube supports HTML5, and if your browser had no 
> flash support at all but HTML5 support, then you, your grsec kernel, and 
> all kittens in the world could just be delighted and still have youtube 
> content played fine.

Fortunately, this works, but there are sites where doesn't. 

> 
> Cheers,
> 
> Vincent
> 
> 
> 

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150120194203.1380e...@eunet.rs



Re: Wheezy: mouse middle button issue

2014-12-15 Thread Marko Randjelovic
On Mon, 15 Dec 2014 15:07:52 +0100
Jerome BENOIT  wrote:

> Hello Forum !
> 
> Since a couple of day, the middle button of my magic mouse (USB)
> has experienced a major issue: I can more copy/past or open-in-new-tab.
> A deeper investigation with xev shows that button 2 is no more existing:
> any idea ?
> 
> My box is a Wheezy box that is daily updated.
> 
> Cheers,
> Jerome
> 
> 

Try your mouse in another computer to see if it's not hardware failure.

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141215174157.3de29...@eunet.rs



Re: How Not to Install systemd to Begin With.

2014-12-15 Thread Marko Randjelovic
On Sun, 14 Dec 2014 15:49:57 -0800
Patrick Bartek  wrote:

> After the lively debate here that "replacing" systemd after it's installed
> is not the same as not installing it in the first place:  Here's the
> solution, more or less.  Although, it seems, one will never be truly
> free from parts of systemd in Testing-Jessie.
> 
> http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_the_Netinst_CD
> 
> I haven't tested this myself.  So, no guarantees.
> 
> B
> 
> 

What to do with sections config-deb, config-rel, config-udeb?

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141215124313.597ff...@eunet.rs



Re: Machine hangs at boot

2014-12-15 Thread Marko Randjelovic
On Mon, 15 Dec 2014 14:37:10 +0400
German  wrote:

> My machine hangs at boot, so i'd like someone to take a look at my log. Thanks
> 
> http://pastebin.com/3crkJgnE

> 939. [   34.070472] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro

What's sda2? Looks like it has errors. Do fsck on sda2.

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141215124552.19a9b...@eunet.rs



Re: Upgrading from squeeze to wheezy

2014-12-15 Thread Marko Randjelovic
What happens when you run apt-get -f install?

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141215123700.49ec4...@eunet.rs



Re: Strange problem with samba share, maybe dns related

2014-11-17 Thread Marko Randjelovic
On Mon, 17 Nov 2014 15:15:25 +0100
Cyril Alberts  wrote:

> Hello,
> 
> today I realized a strange bug (maybe there is a reason for it but I 
> dont know):
> 
> All our employees have a directory/folder at our (wheezy-lts) server, 
> which is for interchange. Everybody gets a folder with his name where 
> anybody can put things in. It is connected to Windows Clients by the 
> letter "Z:\". I generated a huge sum of pdfs which I want to share at 
> the server. As I looked for them from a windows-client, I could hardly 
> see anything in this folder despite I know that there are many folders 
> with pdfs in its subdirectories. They are all recursive chmodded 777 and 
> owner is me as samba user (me:me). Now there are people able to see, 
> browse and use this documents, but not me as a windows user.
> The strangest thing: If I take the IP instead of the NAME of the server 
> - it works!
> 
> How is it possible, that a folder called via name is empty and via ip it 
> is not?
> 
> Z:\pdf-> empty folder
> 
> \\SERVER\fileserver\Mitarbeiter\me\pdf\-> empty folder
> 
> \\192.168.178.123\\fileserver\Mitarbeiter\me\pdf\   -> 2308 Elements
> 
> ls -l gives drwxrwxrwx per subfolder and owner is me:me
> 
> 
> 
> Is this a DNS-based problem or whats going on here?
> 
> I cant explain it, please help!

Hello Cyril

These options in smb.conf could make your problems:

dns proxy = no
name resolv order = 

Kind regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141118075013.225e6...@eunet.rs



Re: Unable too boot after fresh install of latest "testing"

2014-11-11 Thread Marko Randjelovic
On Tue, 11 Nov 2014 11:09:17 +0200
Jarle Aase  wrote:

>  tried to install from
> /cdimage/weekly-builds/amd64/iso-cddebian-testing-amd64-kde-CD-1.iso
> (dd'd to a USB disk) when I ran into all these problems. Today I tried
> again with the latest debian-testing-amd64-CD-1.iso, using full disk
> encryption and btrfs on /. No problems at all. The machine boots and I'm
> happy :)
> 
> There is obviously a bug in the installer in
> iso-cddebian-testing-amd64-kde-CD-1.iso. How/where is the the
> appropriate place to report that?

Maybe the bug was fixed in meanwhile and KDE CD is now also OK.

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/2014181332.6498a...@sbb.rs



Re: Unable too boot after fresh install of latest "testing"

2014-11-10 Thread Marko Randjelovic
On Mon, 10 Nov 2014 10:16:59 +0200
Jarle Aase  wrote:

> I have been using "testing" for quite some time. Saturday, I upgraded to 
> the latest version. That was a disaster. Eventually I gave up fixing the 
> upgrade and performed a fresh install (with encrypted root file system). 
> No matter what I did (I tried 5 - 6 fresh installs on two disks, and a 
> few boots into rescue mode to try to execute grub-install or update-grub 
> manually), I was unable to boot after the upgrade.
> 
> After the upgrade, I have a black screen with a little cursor blinking 
> in the upper, left corner. No messages from grub. No response when I 
> press keys on the keyboard. No time-out. It just stays there.
> 
> I installed Linux Mint (kde edition) without any issues late yesterday 
> night - so the hardware seems to be OK. However, I'm doing some C++14 
> programming, and the compilers in Mint are too old for my code. I can't 
> compile. That's the reason I was using testing on my main machine.
> 
> I still have a free SSD disk where I can install and trouble-shoot the 
> problem. Please advice.
> 
> Hardware:
> - Lenovo w520 laptop with 2 SSD´s and one HDD
> - 24" HP LA240wg monitor on the Display Port connector
> - 24" Philips 240BW monitor on the VGA connector
> 
> Jarle
> 
> 

Boot from Install CD/DVD and choose rescue mode. Than you can review
grub options and reinstall. Alternatively, you can try lilo.

Is your boot partition not encrypted?

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141110150123.62247...@sbb.rs



Re: APT: Failed to fetch cdrom://[Debian...

2014-11-04 Thread Marko Randjelovic
On Tue, 4 Nov 2014 09:14:04 +0100
Marko Ranđelović  wrote:

> I use Wheezy and I use DVD 1 in APT and http as well. DVD *is* working, but 
> whenever I do 'apt-get update', I get and error:
> 
> Ign cdrom://[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 CD Binary-1 
> 20141018-13:06] wheezy Release.gpg
> Ign cdrom://[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 CD Binary-1 
> 20141018-13:06] wheezy Release
> Ign cdrom://[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 CD Binary-1 
> 20141018-13:06] wheezy/main amd64 Packages/DiffIndex
> Err cdrom://[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 CD Binary-1 
> 20141018-13:06] wheezy/main i386 Packages
>   Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update 
> cannot be used to add new CD-ROMs
> Ign cdrom://[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 CD Binary-1 
> 20141018-13:06] wheezy/main Translation-en_US
> [...]
> Fetched 18.7 MB in 38s (487 kB/s) 
>
> W: Failed to fetch cdrom://[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 
> CD Binary-1 20141018-13:06]/dists/wheezy/main/binary-i386/Packages  Please 
> use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be 
> used to add new CD-ROMs
> 
> E: Some index files failed to download. They have been ignored, or old ones 
> used instead.
> 
> It's disturbing and it's the only way I want to eliminate this error messages.
> 
> Kind regards
> 

Obviously, it's CD1 not DVD, but anyway I don't see why the error and
the same error was with DVD1 7.5.0.

Kind regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141104194815.1d496...@sbb.rs



Re: APT: Failed to fetch cdrom://[Debian...

2014-11-04 Thread Marko Randjelovic
On Tue, 4 Nov 2014 11:49:47 +
Darac Marjal  wrote:

> On Tue, Nov 04, 2014 at 09:14:04AM +0100, Marko Ranđelović wrote:
> > I use Wheezy and I use DVD 1 in APT and http as well. DVD *is* working, but 
> > whenever I do 'apt-get update', I get and error:
> > 
> > Ign cdrom://[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 CD Binary-1 
> > 20141018-13:06] wheezy Release.gpg
> > Ign cdrom://[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 CD Binary-1 
> > 20141018-13:06] wheezy Release
> > Ign cdrom://[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 CD Binary-1 
> > 20141018-13:06] wheezy/main amd64 Packages/DiffIndex
> > Err cdrom://[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 CD Binary-1 
> > 20141018-13:06] wheezy/main i386 Packages
> >   Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get 
> > update cannot be used to add new CD-ROMs
> 
> Have you tried this suggestion?

Yes, I did.

> If so, were there any error  messages
> from apt-cdrom?

No, there were not.

Previously, I was using DVD 7.5.0 and the same problem was present.
Checksums was correct and 7.7.0 was made from it with jigdo.

Kind regards 


signature.asc
Description: PGP signature


Re: Monitor does not turn on after suspend

2014-10-26 Thread Marko Randjelovic
On Sun, 19 Oct 2014 21:27:07 +1100
Scott Ferguson  wrote:

> On 19/10/14 02:54, Marko Ranđelović wrote:
> > I use Wheezy on desktop computer. I use vesa driver for X because radeon is
> > not working. After pm-suspend command, computer is like turned off, when 
> > press
> > power button it wakes up, but not monitor and not keyboard.
> > 
> > I tried --quirk-dpms-on, but didn't help.
> 
> What about these (together):-
> --quirk-dpms-suspend
> --quirk-dpms-on
> --quirk-vbestate-restore
> --quirk-vbemode-restore
> --quirk-vga-mode3
> --quirk-vbe-post

This doesn't work either.

> 
> > I also tried kernel options noapic and irqpoll, but didn't help either.
> 
> AFAIK they won't, unless the problem is a buggy BIOS
> 
> > 
> > lspci tells my VGA card as:
> > 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI 
> > Device 6613
> 
> Sapphire Radeon R7 240 ??

Yes, the card is Radeon R7 240, but I'm not sure about Sapphire.
According to Wikipedia this chipset is lauched Oct 8 2013, so not
strange drivers are still not supporting it (well).

> I'd suggest installing the proprietary driver unless you're happy with
> vesa - or, quite reasonably, reject closed source software (in which
> case you might have bought a less powerful card).

With FGLRX driver computer resets when I press power button to wake it
up, so I am back at vesa.

> NOTE: I've only dealt with suspend and that card when dkms was used.
> 
> The FOSS radeon driver installation process is described here (a little
> dated?):-
> https://wiki.debian.org/AtiHowTo
> 
> 
> > 
> > Kind regards
> > 
> > 
> 
> A reference for Suspend is here (note that the information about dkms is
> out of date):-
> https://wiki.debian.org/Suspend

I'll try PM_DEBUG=true. There is an options in BIOS regarding VGA
integrated on board (which is currently disabled) so I'll try it as
well. 

> Was Wheezy a fresh install or did you upgrade from Squeeze ??

It was a fresh install.

> What sort of desktop is it (make/model) - if a no-brand, what is the
> motherboard ??
> 
> Could you please paste your /var/log/Xorg.0.log somewhere e.g.
> paste.debian.net and post the link in your reply ??
> HINT: pastebinit is a useful debian package for just that purpose

It's an ordinary PC. There is nothing special in Xorg.log, except that
the card is not detected.



-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141026112639.4f501...@sbb.rs



Re: usb dvd drive does not mount automatically as it used to

2014-10-05 Thread Marko Randjelovic
On Sun, 5 Oct 2014 12:05:30 +0100
José Silva  wrote:

> Hello,
> 
> My external dvd drive (usb) used to get automatically mounted on my 
> jessie x64 / xfce, at /media/cdrom if I recall. It doesn't anymore, I 
> guess due to updates I do daily. lsusb lists the device.
> 
> I wonder if this is connected to my post two days ago "wrong mount point 
> after update" about changes on usb devices mount, still waiting for help 
> from the helpful debian user list, by the way.

It could be, I answered to your previous topic, if you cannot remove
gnome-disk-utility then try to disable it or configure from it's own
interface (from GNOME), but I never used it.

> 
> Any help to solve will be much appreciated.
> 
> Regards,
> jss
> 
> 



-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141005143930.1e61a...@sbb.rs



Re: wrong mount point after update

2014-10-05 Thread Marko Randjelovic
On Sun, 5 Oct 2014 13:00:15 +0100
José Silva  wrote:

> On 04/10/14 16:07, José Silva wrote:
> > On 04/10/14 06:00, Marko Randjelovic wrote:
> >> On Sat, 4 Oct 2014 00:20:19 +0100
> >> José Silva  wrote:
> >>
> >>> On 03/10/14 23:44, José Silva wrote:
> >>>> Hello,
> >>>>
> >>>> On my Jessie x64, until today, I was used to my usb disks being mounted
> >>>> at /media/myuser/disklabel.
> >>>>
> >>>> After today's update, the first disk always get mounted at /media/usb0
> >>>> and the ones after that, follow the old rule as above.
> >>>>
> 
> Never mind, just figured it out. Something added to fstab two mount 
> points /dev/sdc1 and sdc2 at /media/usb0 and usb1. I know I didn't.
> 
> Thank you for all the help, no sarcasm.
> 
> Regards,
> jss
> 
> 

It could be gnome-disk-utility. Do dpkg --configure -a to see if the
package was installed correctly and then type

apt-get remove gnome-disk-utility 

and look at REMOVED section and if other packages would be removed
answer 'n' to cancel (or 'y' if you are sure you won't make damage).

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141005143546.77c53...@sbb.rs



Re: apt update problems

2014-10-03 Thread Marko Randjelovic
On Fri, 03 Oct 2014 22:17:42 -0400
Maureen L Thomas  wrote:

> 
> On 10/03/2014 03:07 AM, Andrei POPESCU wrote:
> > On Jo, 02 oct 14, 19:59:15, Maureen L Thomas wrote:
> >> On 10/02/2014 07:19 PM, Brian wrote:
> >>> On Fri 03 Oct 2014 at 00:15:32 +0100, Brian wrote:
> >>>
>  You have a very poorly /etc/apt/sources/list. Please post its contents.
> >>>/etc/apt/sources.list
> >>>
> >>>
> >> I did not see an update file int the
> >>
> >> ftp://carroll.aset.psu.edu/pub/linux/distributions/debian/dists/wheezy/.
> >>
> >> When I look at sources.list I get the configuration thing from synaptic 
> >> which includes the CD's from 7.6 and contains 
> >> http://http.us.debian.org/debian/ wheezy contrib non-free main
> >>
> >> The following is from sources.list.save
> > Could you please *attach* (not copy-paste or similar) your
> > /etc/apt/sources.list file and any other file you might have under
> > /etc/apt/sources.list.d/ ?
> >
> > It's important you attach them since your mailer seems to be a little
> > bit too helpful in formating your mails and it's important to for us to
> > see the same files as apt sees them.
> >
> > Kind regards,
> > Andrei
> I tried this earlier and apparently it didn't go through.  Here are the 
> attached files.  I have an empty sources.list.d directory but there is 
> nothing in it.  TY

Your sources.list is totaly messed up.

https://wiki.debian.org/SourcesList

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141004071645.7edd0...@sbb.rs



Re: wrong mount point after update

2014-10-03 Thread Marko Randjelovic
On Sat, 4 Oct 2014 00:20:19 +0100
José Silva  wrote:

> On 03/10/14 23:44, José Silva wrote:
> > Hello,
> >
> > On my Jessie x64, until today, I was used to my usb disks being mounted
> > at /media/myuser/disklabel.
> >
> > After today's update, the first disk always get mounted at /media/usb0
> > and the ones after that, follow the old rule as above.
> >
> 
> Further observation, the first usb disk gets mounted read-only, 
> presumably because it is out of user area. This is really weird.
> jss
> 
> 

Type (as root)

grep -E "YYY-mm-dd.* (install|upgrade) " /var/log/dpkg.log

to see which packages were upgraded/installed.

Kind regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141004070030.0d625...@sbb.rs



Re: vsftpd with ssl

2014-09-29 Thread Marko Randjelovic
On Mon, 29 Sep 2014 21:19:44 -0400 (EDT)
Stephen Powell  wrote:

> I work with SSL-secured FTP regularly.  First of all, let's get the
> terminology right.  I'm glad to see that you used the term FTPS instead
> of SFTP.  Many people have the two confused.  SFTP is a file transfer
> protocol used under the Secure Shell protocol (SSH).  FTPS is regular
> FTP (File Transfer Protocol) with SSL encryption wrapped around it.
> But, strictly speaking, the FTPS protocol is for *implicit*
> SSL-encrypted FTP only, and that's not how you have your server set up.
> *Explicit* SSL-encrypted FTP, via the "AUTH TLS" command, is still
> considered the FTP protocol, not the FTPS protocol, even though SSL
> encryption is used.  Furthermore, the well-known port normally used
> for FTPS is port 990, and you have your server set up to use port 21,
> which is the well-known port for the FTP protocol.  So the server is
> set up for FTP and the client is assuming FTPS.  They don't match.
> 
> The first decision you need to make is whether you want to set up
> your server for implicit SSL or explicit SSL.  Then proceed from
> there.

Thanks for your informative answer, it did solve my problem, after
enabling implicit_ssl option in vsftpd (and btw after disabling
ssl:verify-certificate in lftp), I could transfer a test file.

Kind regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140930061247.14821...@sbb.rs



vsftpd with ssl

2014-09-29 Thread Marko Randjelovic
I installed vsftpd on Wheezy and am trying to make it work with ssl (ftps
protocol).

This is my config file:

listen=YES
anonymous_enable=NO
local_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
nopriv_user=ftpsecure
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vs.pem
ssl_enable=YES
debug_ssl=YES
log_ftp_protocol=YES

/etc/ftpusers does not contain user vsftp.

I connect with:

lftp ftps://vsftp@127.0.0.1:21
Password: 
lftp vsftp@127.0.0.1:~> ls
ls: Fatal error: gnutls_handshake: An unexpected TLS packet was received.

In /var/log/vsftpd.log appears:

Mon Sep 29 21:55:10 2014 [pid 2] CONNECT: Client "127.0.0.1"
Mon Sep 29 21:55:10 2014 [pid 2] FTP response: Client "127.0.0.1", "220 (vsFTPd
2.3.5)"
Mon Sep 29 21:55:10 2014 [pid 2] FTP command: Client "127.0.0.1",
"P???L??T)???T?HI??+???|NHD???0?3?G?E?9?K?2?@?D?8?J?F?/?https://lists.debian.org/1412020836.5429ba644e...@webmail.eunet.rs



Re: Slight New Sound Problem

2014-09-18 Thread Marko Randjelovic
On Thu, 18 Sep 2014 06:14:00 -0500
"Martin G. McCormick"  wrote:

> Marko Randjelovic writes:
> > Did you try with another kernel?
> 
>   Well, indirectly. As I mentioned, the system has always
> exhibited this behavior slightly for several years through a
> number of kernels. The biggest change, though, was when I
> changed out the conventional 10 GB hard drive for a slightly
> larger flash drive that was also about 15 years newer.
> 
>   I think it is some sort of bus contention problem. The
> system has two IDE controllers. One has the boot drive on the
> master position plus a second conventional hard drive on the
> slave position for /home. The other IDE controller has a CDRW
> drive in the master position and a second CDRW drive in slave.
> I can always make the sound problem worse by doing
> disk-intensive activity on the controller that has the two fixed
> disk drives.

If I were you I would download kernel source to experiment with
relevant kernel options, but first try:
1. use hdparm to see if your hard drives support DMA and if it is
activated;
2. change IO scheduler to 'deadline' by adding to kernel boot line
"elevator=deadline".

Kind regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140918192558.4dcbd...@sbb.rs



Re: Slight New Sound Problem

2014-09-17 Thread Marko Randjelovic
On Wed, 17 Sep 2014 21:32:27 -0500
"Martin G. McCormick"  wrote:

> Thanks for any constructive ideas.

Did you try with another kernel?

Kind regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140918083941.04d3e...@sbb.rs



Re: how to reinstall bash

2014-09-13 Thread Marko Randjelovic
On Sun, 14 Sep 2014 13:29:15 +0800
lina  wrote:

> $ ls -l /bin/sh /bin/bash /bin/dash
> -rwxr-xr-x 1 root root 1029624 Aug 22 05:15 /bin/bash
> -rwxr-xr-x 1 root root  117176 Jan 10  2014 /bin/dash
> lrwxrwxrwx 1 root root   9 Sep 13 17:48 /bin/sh -> /bin/bash
> 
> Now it is sane, the mistake came at the first place was due to my slip
> in treating 'ln -sf /bin/sh /bin/bash' and then I realized that
> mistakes but unconsciously still possess enough amount of intuition to
> repeat this mistake.

I don't know what Debian release do you use, but since Squeeze, /bin/sh
should point to dash.

Kind regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140914084454.50319...@sbb.rs



Re: Brainydeal Receipt Printer

2014-09-08 Thread Marko Randjelovic
On Mon, 8 Sep 2014 09:30:47 +0100
Brian  wrote:

> [I have rearranged one of your responses to be on a separate line to
> the question]
> 
> 
> On Mon 08 Sep 2014 at 00:08:15 -0400, Ethan Rosenberg wrote:
> 
> > On 09/07/2014 04:26 PM, Brian wrote:
> > 
> > Brian -
> > 
> > > You didn't say how the printer is accessed by the computer.
> > 
> > USB
> 
> Your "lpstat -a" has
> 
>device for POS58: socket://192.168.1.100:9100

Isn't the printer we are dealing with

device for receiptprinter: usb://Unknown/Printer?serial=1234567890

?

Kind regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140908112541.041aa...@sbb.rs



Re: Irony

2014-08-10 Thread Marko Randjelovic
On Sat, 9 Aug 2014 16:26:40 -0400
Steve Litt  wrote:

> Hi all,
> 
> Some of the reasons I switched my desktop from Ubuntu to Debian were:
> 
> 1) To do more config by editor and less by magical binary program.
> 
> 2) To get rid of gratuitous boot gunge (in this case Plymouth)
> 
> 3) To get closer to the Unix Philosophy
> 
> Within months of my switch, oops, here comes systemd.
> 
> Sometimes, you just have to laugh.

Recently I heared on TV a words of a historic Christian missionary, if
you lough to Devil, you lose ability to be in delight with Jesus. I
took them very seriously.

Kind regards

> 
> SteveT
> 
> Steve Litt*  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance
> 
> 



-- 
http://markorandjelovic.hopto.org

Please make your donation for humanitarian aid for flood victims in
Serbia: http://www.floodrelief.gov.rs/eng/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140811083045.31e89...@sbb.rs



Re: manual Packages file download?

2014-07-20 Thread Marko Randjelovic
On Sun, 20 Jul 2014 15:52:53 +1000
Zenaan Harkness  wrote:

> I keep getting (tried 3 times now) this sort of error from my chosen mirror:
> ---
> 100% [15 Packages 9,119 kB/9,119 kB 100%]
> Err ftp://mirror.aarnet.edu.au sid/main amd64 Packages

For me this mirror is working:

Hit ftp://mirror.aarnet.edu.au sid Release.gpg
Hit ftp://mirror.aarnet.edu.au/debian/ sid/main Translation-en
Get:1 ftp://mirror.aarnet.edu.au/debian/ sid/main Translation-en_US
Ign ftp://mirror.aarnet.edu.au/debian/ sid/main Translation-en_US
Hit ftp://mirror.aarnet.edu.au sid Release
Get:2 ftp://mirror.aarnet.edu.au sid/main amd64 Packages
Ign ftp://mirror.aarnet.edu.au sid/main amd64 Packages
Get:3 ftp://mirror.aarnet.edu.au sid/main amd64 Packages
Ign ftp://mirror.aarnet.edu.au sid/main amd64 Packages
Get:4 ftp://mirror.aarnet.edu.au sid/main amd64 Packages [9,119 kB]
Fetched 9,119 kB in 53s (171 kB/s)
Reading package lists... Done

Why don't you try contacting the webmaster?

Kind regards

-- 
http://markorandjelovic.hopto.org

Please make your donation for humanitarian aid for flood victims in
Serbia: http://www.floodrelief.gov.rs/eng/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140720094052.67af5...@eunet.rs



Re: Pin package to "any version, don't remove"?

2014-07-19 Thread Marko Randjelovic
On Sat, 19 Jul 2014 21:58:13 -0400
The Wanderer  wrote:

> when an X not compatible with the newest
> available fglrx-driver is available, 'apt-get dist-upgrade' still tries
> to remove fglrx-driver.

Then why don't you pin X?

-- 
http://markorandjelovic.hopto.org

Please make your donation for humanitarian aid for flood victims in
Serbia: http://www.floodrelief.gov.rs/eng/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140720073726.5909e...@sbb.rs



Re: IBM ServeRAID 8k-l driver

2014-06-10 Thread Marko Randjelovic
On Tue, 10 Jun 2014 12:34:22 +0200
basti  wrote:

> Hello,
> 
> I have a IBM System X3550 with a IBM ServeRAID 8k-l RAID Controller.
> First of all I have build a RAID with the "BIOS" Raid-config and
> installed Debian.
> 
> Now I need a management system to check if the raid is clean.
> For Software raid it's called mdadm.
> 
> Where can I find somethink for the IBM Raid controller?
> How can I Build this? I only found RPM's.
> 
> The aacraid does not support the IBM ServeRAID 8k-l.
> 
> Thanks,
> Basti


From Linux configuration:

config SCSI_IPS
tristate "IBM ServeRAID support"
depends on PCI && SCSI
---help---
  This is support for the IBM ServeRAID hardware RAID controllers.
  See 
  and 

  for more information.  If this driver does not work correctly
  without modification please contact the author by email at
  .

  To compile this driver as a module, choose M here: the
  module will be called ips. 


So, your module is called ips. Verify if proper devices are created
in /dev and mounted on your filesystem.


-- 
http://markorandjelovic.hopto.org

Please make your donation for humanitarian aid for flood victims in
Serbia: http://www.floodrelief.gov.rs/eng/


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140610140442.62045...@eunet.rs



Re: Post-installation: how to auto-configure network adapter (ie. enable internet access)?

2014-06-02 Thread Marko Randjelovic
On Sun, 1 Jun 2014 17:01:04 -0700 (PDT)
Horatio Leragon  wrote:

> Did you mean that at the console, tty1, I type the following command?
> 
> sudo apt-get install network-manager  

If you didn't unselect "Desktop Environment" during install, it's
already installed.

> What do the terms "iface", "mapping", "allow-hotplug eth1", "iface lo inet 
> loopback", "up flush-mail" mean?
> 
> Brian, not everyone has a computer science or IT degree.  

Read some basic introduction about basic networking terms. Then you
could read some basic introduction to Linux networking.

For your current problem, you didn't provide us enough information. We
don't even know if your network cable is pluged in or you expect to be 
cnnected by wireless.

Regards

-- 
http://markorandjelovic.hopto.org

Please make your donation for humanitarian aid for flood victims in
Serbia: http://www.floodrelief.gov.rs/eng/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140603062243.5dc1a...@eunet.rs



Re: How to find dirs with single item

2014-05-30 Thread Marko Randjelovic
On Fri, 30 May 2014 17:17:29 +1000
Chris Angelico  wrote:

> On Fri, May 30, 2014 at 3:38 PM, Marko Randjelovic  wrote:
> > On Thu, 29 May 2014 22:43:29 +0100
> > Clive Standbridge  wrote:
> >
> >> find temp |sed 's|[^/]*$||' |sort |uniq -u
> >
> > This doesn't work on this directory.
> >
> 
> Can you try the Python script on that, please? File system encodings
> can be a bit of a pain at times. If it doesn't work as "python", try
> "python3", as the two are a bit different as regards Unicode.
> 
> ChrisA
> 
> 

No problem, but please give me the python code to execute.

Regards

-- 
http://markorandjelovic.hopto.org

Please make your donation for humanitarian aid for flood victims in
Serbia: http://www.floodrelief.gov.rs/eng/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140530132002.7000a...@eunet.rs



Re: How to find dirs with single item

2014-05-29 Thread Marko Randjelovic
On Thu, 29 May 2014 22:43:29 +0100
Clive Standbridge  wrote:

> find temp |sed 's|[^/]*$||' |sort |uniq -u

This doesn't work on this directory.

$ find cenovnici |sed 's|[^/]*$||' |sort |uniq -u

cenovnici/comtel_2011-12-20/Aktivna mre�
cenovnici/comtel_2011-12-20/Brand ra
cenovnici/comtel_2011-12-20/Ext.Aktivna Mre�
cenovnici/comtel_2011-12-20/Ext.Potro�
cenovnici/comtel_2011-12-20/Inkjet �tampa
cenovnici/comtel_2011-12-20/Ku�i�
cenovnici/comtel_2011-12-20/Laserski �tampa
cenovnici/comtel_2011-12-20/Mati�ne plo
cenovnici/comtel_2011-12-20/Memorijske kartice i �ita
cenovnici/comtel_2011-12-20/Mi�
cenovnici/comtel_2011-12-20/Pasivna mre�
cenovnici/comtel_2011-12-20/Potro�
cenovnici/comtel_2011-12-20/Potro�ni materijal za �tampa
cenovnici/comtel_2011-12-20/Zvu

First, it displays an empty line in place of base dir. This can be
solved by modified sed expression:

sed -n '2~1s|[^/]*$||p'

Second the lines are truncated:

$ ls -R1 cenovnici
cenovnici:
comtel.tar.bz2
comtel_2011-12-20

cenovnici/comtel_2011-12-20:
Aktivna mre?na oprema.html
Brand ra?unari.html
DVD,DivX i MP3,MP4  Player.html
DVD-RW.html
Digitalni aparati i kamere.html
Dodatna oprema za notebook.html
Ext.Aktivna Mre?na Oprema.html
Ext.Modemi.html
Ext.Multimedia.html
Ext.Potro?ni materijal.html
Fiksna telefonija.html
Game Controlleri & Konzole.html
Hard diskovi.html
Inkjet ?tampa?i.html
Kuleri.html
Ku?i?ta i Napajanja.html
Laserski ?tampa?i.html
Mati?ne plo?e.html
Medije (CD,Diskete,ZIP).html
Memorije.html
Memorijske kartice i ?ita?i.html
Mi?evi.html
Monitori.html
Multimedia.html
Notebook.html
Pasivna mre?na oprema.html
Potro?ni materijal za ?tampa?.html
Potro?ni materijal.html
Procesori.html
Projektori i oprema.html
Softver.html
Tastature.html
UPS.html
USB Memorije.html
Video kartice.html
Zvu?nici.html

"?" is in place of character codes which correcspond to
ex-Yugoslav-specific latin characters in cp1250 encoding and lines are
truncated before or after such character, but apparently not always so
this is really strange for me.

-- 
http://markorandjelovic.hopto.org

Please make your donation for humanitarian aid for flood victims in
Serbia: http://www.floodrelief.gov.rs/eng/


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140530073849.137c0...@eunet.rs



Re: Cloning hdds of different sizes

2014-05-29 Thread Marko Randjelovic
On Tue, 27 May 2014 21:15:45 -0700
Patrick Bartek  wrote:

> 8. Create a new grub.cfg:  Use grub-mkconfig.
> 
> 9. Install to MBR of the 300GB drive: Use install-grub.

I use LILO, but make sure you install GRUB on your new (300GB) drive,
use fdisk -l /dev/sd[a-z] to find what is what.

-- 
http://markorandjelovic.hopto.org

Please make your donation for humanitarian aid for flood victims in
Serbia: http://www.floodrelief.gov.rs/eng/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140529150733.29381...@eunet.rs



Re: Security updates for hold package

2014-05-14 Thread Marko Randjelovic
On Wed, 14 May 2014 14:16:37 + (UTC)
Curt  wrote:

> On 2014-05-14, Marko Randjelovic  wrote:
> >
> > Pin php packages to a=oldstable, 500 < Pin-Priority < 990. But to
> > receive security support for squeeze past this month, you have to
> > include squeeze-lts repo.
> 
> There is a specific squeeze-lts repository? If so, what should be put in
> /etc/apt/sources.list to benefit from the long term support?
> 
> 

https://wiki.debian.org/LTS/Development

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140514162626.35671...@eunet.rs



Re: Security updates for hold package

2014-05-14 Thread Marko Randjelovic
On Wed, 14 May 2014 11:40:04 +0200
Frank  wrote:

> On 05/14/2014 11:35 AM, Andrei POPESCU wrote:
> >
> > APT does not differentiate between "major" or "security" or "whatever" 
> > upgrade, just about version numbers.
> >
> > However, if you're on stable (or oldstable) there will be no major 
> > upgrades (whether you want them or not) unless you point your sources to 
> > the next release.
> >
> > If you want more specific information please provide the output of
> >
> > apt-cache policy 
> >
> 
> Ok, let me reformulate the question. How can I achieve the following,
> Upgrade my system from Squeeze to Wheezy, keep the installed php
> packages as they are but don't prevent the system from installing
> security updates as long they are available for squeeze?
> 
> Cheers
> Frank
> 
> 

Pin php packages to a=oldstable, 500 < Pin-Priority < 990. But to
receive security support for squeeze past this month, you have to
include squeeze-lts repo.

Kind regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140514115317.770c1...@eunet.rs



Re: Security updates for hold package

2014-05-14 Thread Marko Randjelovic
On Wed, 14 May 2014 11:00:30 +0200
Frank  wrote:

> Hi,
> can anybody explain to me what exactly happens if I place a package on
> hold? I have an application which unfortunately requires an older php
> version.
> If I now mark the package "hold" does this mean no major upgrade will be
> performed for this package or do I prevent security updates as well,
> with that action?
> 
> Cheers
> Frank
> 
> 

No upgrades (changes) will be performed, but you can pin package to
e.g. "version 1.0*". But if your package in repo gets upgraded to 1.1
then all security upgrades will be based on 1.1 and again you loose
security upgrades. It can make sense only if both versions are
parallely supported but it's usualy not so in same repo, but if you
enable e.g. deb-multimedia, and deb-multimedia has newer version, but
you want version from standard repo, then you can pin to version from
standard repo with wilecard to ensure security upgrades from standard
repo and block major upgrades (other repo).

Kind regards

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140514113834.02c97...@eunet.rs



Re: minimal X.org xserver installation on Debian Wheezy

2014-05-12 Thread Marko Randjelovic
On Sun, 11 May 2014 13:14:28 +0300
Andrei POPESCU  wrote:

> These two have been replaced by xserver-xorg-input-evdev
>  
> > xserver-xorg-video-radeon
> > xserver-xorg-video-ati
> > 
> > I'm fairly sure I installed the Recommends:. You may need to have
> > different video packages. 
> 
> Last time I did this I also needed an xfonts- package, like xfonts-base, 
> but since it is a Recommends: of xserver-common I will probably be 
> pulled in if one doesn't disable them.
> 
> Kind regards,
> Andrei

You will need xbase-clients as well.

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512124345.19435...@eunet.rs



Re: Default & supported service manager in Wheezy

2014-05-09 Thread Marko Randjelovic
On Fri, 09 May 2014 17:24:13 +1000
Scott Ferguson  wrote:

> On 09/05/14 16:19, Mihamina Rakotomandimby wrote:
> > Hi all,
> > 
> > A long time ago, when I was young ;-), services used to be managed with
> > "invoke-rc.d" & "update-rc.d" on Debian.

> > 
> > Know playing with several distributions, some use "service", "sysctl",
> > "systemctl", and some of them are mentionned for managing services in
> > Debian.
> > 
> > Typically, on a Debian when I "a2ensite", there is a message indicating
> > to "service apache2 reload" in order to fullfill the new VirtualHost
> > consideration.
> > 
> > I would like to stick with the "native" tools for each distribution I
> > manage: On Wheezy what is the right one? What is wrapping what?

No one knows it :)

On Wheezy, you can use:

invoke-rc.d  
service  
/etc/init.d/ 

But Jessy will use systemd - systemctl.

> 
> Good question to which I'd like to know a definitive answer.
> 
> Where the service exists in `ls /etc/init.d` I control
> (start/stop/restart/status whatever the service allows) it from there.
> 
> > 
> > Thank you.
> > 
> > 
> 
> 
> Kind regards
> 



-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140509094901.54e6b...@eunet.rs



Re: OpenVPN client configuration for simultaneous connections to external servers

2014-05-05 Thread Marko Randjelovic
On Mon, 5 May 2014 14:35:18 -0300
Daniel Bareiro  wrote:

> On Saturday, 19 April 2014 11:47:37 -0300,
> Daniel Bareiro wrote:
> 
> > I'm doing tests to simultaneously maintain two VPN links against PureVPN
> > servers. As this is an external provider, I have no way to make changes
> > in the configuration of VPN servers.
> > 
> > The settings I'm using to set up each link are:
> > 
> > 
> > # cat client.conf
> > client
> > dev tun
> > proto tcp
> > remote br1-ovpn.purevpn.net 80
> > persist-key
> > persist-tun
> > ca ca.crt
> > tls-auth Wdc.key 1
> > cipher AES-256-CBC
> > comp-lzo
> > verb 3
> > mute 20
> > route-method exe
> > route-delay 2
> > # route 0.0.0.0 0.0.0.0
> > float
> > 
> > auth-user-pass auth.asc
> > auth-retry interact
> > ifconfig-nowarn
> > 
> > status /var/log/openvpn-status.log
> > log-append /var/log/openvpn.log
> > 
> > # cat client2.conf
> > client
> > dev tun
> > proto udp
> > remote cl1-ovpn.purevpn.net 53
> > persist-key
> > persist-tun
> > ca ca.crt
> > tls-auth Wdc.key 1
> > cipher AES-256-CBC
> > comp-lzo
> > verb 3
> > mute 20
> > route-method exe
> > route-delay 2
> > # route 0.0.0.0 0.0.0.0
> > float
> > 
> > auth-user-pass auth.asc
> > auth-retry interact
> > ifconfig-nowarn
> > 
> > status /var/log/openvpn2-status.log
> > log-append /var/log/openvpn2.log
> > 
> > 
> > The two links are established, but when I do ping tests (with "-I tun1"
> > and "-I tun2"), I have an answer by a single link. I think there should
> > be a routing problem.
> > 
> > When the connection is established using client.conf, these are the
> > routing rules added by the server:
> > 
> > Fri Apr 18 10:46:30 2014 /sbin/ip link set dev tun0 up mtu 1500
> > Fri Apr 18 10:46:30 2014 /sbin/ip addr add dev tun0 181.41.205.194/26 
> > broadcast 181.41.205.255
> > Fri Apr 18 10:46:32 2014 /sbin/ip route add 181.41.198.225/32 via 
> > 162.252.86.177
> > Fri Apr 18 10:46:32 2014 /sbin/ip route add 0.0.0.0/1 via 181.41.205.193
> > Fri Apr 18 10:46:32 2014 /sbin/ip route add 128.0.0.0/1 via 181.41.205.193
> > Fri Apr 18 10:46:32 2014 /sbin/ip route add 0.0.0.0/0 via 181.41.205.193
> > 
> > When the connection is established using client2.conf, these are the
> > routing rules added by the server:
> > 
> > Fri Apr 18 10:49:39 2014 /sbin/ip link set dev tun1 up mtu 1500
> > Fri Apr 18 10:49:39 2014 /sbin/ip addr add dev tun1 179.61.208.135/26 
> > broadcast 179.61.208.191
> > Fri Apr 18 10:49:41 2014 /sbin/ip route add 181.41.198.181/32 via 
> > 162.252.86.177
> > Fri Apr 18 10:49:41 2014 /sbin/ip route add 0.0.0.0/1 via 179.61.208.129
> > Fri Apr 18 10:49:41 2014 /sbin/ip route add 128.0.0.0/1 via 179.61.208.129
> > Fri Apr 18 10:49:41 2014 /sbin/ip route add 0.0.0.0/0 via 179.61.208.129
> > 
> > After reading this [1] document, I thought maybe after the two links are
> > established, I could manually delete the rules added by the servers and
> > add something like the following:
> > 
> > ip route add 181.41.205.192/26 dev tun0 src 181.41.205.194/26 table T1
> > ip route add default via 181.41.205.193 table T1
> > ip route add 179.61.208.128/26 dev tun1 src 179.61.208.135/26 table T2
> > ip route add default via 179.61.208.129 table T2
> > 
> > ip route add 181.41.205.192/26 dev tun0 src 181.41.205.194/26
> > ip route add 179.61.208.128/26 dev tun1 src 179.61.208.135/26
> > 
> > ip route add default via 181.41.205.193
> > 
> > ip rule add from 181.41.205.194/26 table T1
> > ip rule add from 179.61.208.135/26 table T2
> > 
> > 
> > Not sure if this can works as I'm manually entering these rules outside
> > the OpenVPN configuration and would like something neater (if possible,
> > within the same configuration files) for easy maintenance.
> > 
> > I would appreciate any comments.
> > Thank you in advance for responding.
> >
> > [...] 
> > 
> > [1] http://lartc.org/howto/lartc.rpdb.multiple-links.html
> 
> Hi all!
> 
> I made a bash script to automatically apply the routing logic that I
> commented on the other post. But I'm noticing that sometimes, all
> connections fail simultaneously:
> 
> client1:
> 
> Mon May 5 12:47:26 2014 SIGUSR1[soft,ping-restart] received, process 
> restarting
> Mon May 5 12:47:26 2014 Restart pause, 5 second(s)
> Mon May 5 12:47:31 2014 WARNING: No server certificate verification method 
> has been enabled. See http://openvpn.net/howto.html#mitm for more info.
> Mon May 5 12:47:31 2014 Socket Buffers: R=[87380->131072] S=[16384->131072]
> Mon May 5 12:47:51 2014 RESOLVE: Cannot resolve host address: 
> ua1-ovpn.purevpn.net: Temporary failure in name resolution
> Mon May 5 12:48:11 2014 RESOLVE: Cannot resolve host address: 
> ua1-ovpn.purevpn.net: Temporary failure i

Re: AMD Graphics on Debian 7.4

2014-04-13 Thread Marko Randjelovic
On Sun, 13 Apr 2014 11:27:31 -0700 (PDT)
ray  wrote:

> Am I missing something here?

Of course you are, in one of previous posts you got a solution but looks
like you missed it :)

-- 
http://markorandjelovic.hopto.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140414080919.34e58...@eunet.rs



Re: debian install wireless fails on laptop with Ralink RT3290 wireless, what to do?

2014-04-13 Thread Marko Randjelovic
On Sun, 13 Apr 2014 21:26:09 -0700
Britton Kerin  wrote:

> The installer correctly detects a Ralink RT3290 and seems to think its
> going to be
> able to work with it, but then it always fails (I think at the DHCP
> stage) to actually
> manage to connect to the network.
> 
> Has anyone else encountered this issue?  Workarounds?
> 
> As usually everyone assumes it would work on Ubuntu and as usual I'd rather 
> not
> go there.
> 
> What I'm hoping to do is install a gnome system from CD image, then follow 
> these
> instructions:
> 
>   https://wiki.debian.org/rt3290
> 
> Is this probably workable?  Is it the best way?  If there was some way to get
> wireless working at the point in the installation where the installer
> tries to set
> it up that seem like it would be best, but maybe it isn't required 
> firmware-ralinkthen if you
> have one of the big (non-netinst) CDs?

Apparently, firmware-ralink is non-free and is required, so looks like
you can't get your card working from installation. You must download
the package from another machine or temporarily use another network
card.

> 
> Thanks,
> Britton
> 
> 

Regards

-- 
http://markorandjelovic.hopto.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140414080245.65b63...@eunet.rs



Re: Update Squeeze to Wheezy syslog "audit" entry

2014-03-19 Thread Marko Randjelovic
On Tue, 18 Mar 2014 13:45:46 +0100
basti  wrote:

> Hello,
> today I have update squeeze to wheezy and now my syslog is full of
> messaged like:
> 
> Mar 18 13:38:39 vsrv65965 kernel: [ 8518.427682] type=1400
> audit(1395146319.571:8122): avc:  denied  { read } for  pid=989
> comm="postgres" name="pg_filenode.map" dev=xvda1 ino=655638
> scontext=system_u:system_r:postgresql_t:s0
> tcontext=unconfined_u:object_r:file_t:s0 tclass=file
> Mar 18 13:38:39 vsrv65965 kernel: [ 8518.427710] type=1400
> audit(1395146319.571:8123): avc:  denied  { open } for  pid=989
> comm="postgres" name="pg_filenode.map" dev=xvda1 ino=655638
> scontext=system_u:system_r:postgresql_t:s0
> tcontext=unconfined_u:object_r:file_t:s0 tclass=file
> Mar 18 13:38:39 vsrv65965 kernel: [ 8518.428387] type=1400
> audit(1395146319.572:8124): avc:  denied  { getattr } for  pid=989
> comm="postgres"
> path="/var/lib/postgresql/9.1/main/base/16400/PG_VERSION" dev=xvda1
> ino=671762 scontext=system_u:system_r:postgresql_t:s0
> tcontext=unconfined_u:object_r:file_t:s0 tclass=file
> Mar 18 13:38:39 vsrv65965 kernel: [ 8518.429542] type=1400
> audit(1395146319.573:8125): avc:  denied  { write } for  pid=989
> comm="postgres" name="11734" dev=xvda1 ino=671767
> scontext=system_u:system_r:postgresql_t:s0
> tcontext=unconfined_u:object_r:file_t:s0 tclass=file
> 
> 
> selinux-policy-default is not installed.
> The machine is a XEN vbox (Linux 3.0.101 #2 SMP Mon Dec 30 13:15:49 CET
> 2013 x86_64).
> 
> Regards,
> Basti
> 
> 

Then install selinux-policy-doc because it should automatically install
modules to allow actions so your installed software works. You can
allow individual rules with audit2allow. If you don't need SELInux,
look at your boot loader configuration and remove "security=selinux"
kernel option.

--
http://markorandjelovic.hopto.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140319090427.2b3aa...@eunet.rs



Re: Updating not working as expected

2014-02-09 Thread Marko Randjelovic
Use "apt-cache policy" to see what are your repositories' priorities,
and than adjust them in /etc/apt/preferences. That synaptic option
probably changes Default-Release in apt.conf[.d/], but, I don't
recommend it because I think it's simpler to specify everyting in
/etc/apt/preferences.

-- 
http://markorandjelovic.hopto.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140210051637.133ed...@eunet.rs



Re: Poll: Which Init-System should Debian use in the future?

2014-01-27 Thread Marko Randjelovic
On Mon, 27 Jan 2014 12:36:07 + (GMT)
Holger Vogt  wrote:

> I've found a interesting poll on heise.de (german it news) today. Its a 
> survey which init system Debian Users would prefer for future releases.
> 
> 
> You can find the Poll here: 
> 
> http://pollator.com/polls/which-init-system-should-debian-use-in-the-future/votes/new
> 
> 
> The result is quite surprising.
> 

I didn't vote because openrc is not on list.

-- 
Education is a process of making people see what is advanced and not
obvious, but it can also make us not see what is basic and obvious.

http://markorandjelovic.hopto.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140127160419.44c68...@eunet.rs



Re: Debian logging - confused

2014-01-16 Thread Marko Randjelovic
On Wed, 15 Jan 2014 06:14:42 -0500
Tanstaafl  wrote:

> Hi all,
> 
> I understand and agree with the argument for having separate logs for 
> different services, as it makes troubleshooting individual servcies much 
> easier - in most cases.
> 
> However, I also would like to have *one* log that *everything* goes to, 
> because in many cases it makes it much easier to see at a glance if 
> there is a problem - at least on systems that aren't extraordinarily busy.
> 
> So, does debian have a single log (in gentoo, everything is logged to 
> /var/log/messages, then you can also send individual services to 
> separate logs as well)?
> 
> The reason I'm asking is, I can't seem to find where sshd is logging 
> (I'm having someone remote in and help me with something, but can't find 
> any record of him having been there yesterday)...
> 
> Appreciate any pointers...
> 
> 

You can always install syslog-ng, which will replace rsyslog, and which
I believe is Gentoo default.

-- 
Marko Ranđelović, Niš, Serbia
marko...@eunet.rs
http://markorandjelovic.hopto.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140116234818.6212b...@eunet.rs



Re: Problems while using Tor Browser on Debian 7

2014-01-08 Thread Marko Randjelovic
On Sat, 04 Jan 2014 01:21:03 +0600
Muntasim-Ul-Haque  wrote:

> Hi,
> I have installed Tor on Debian 7 but couldn't use it. Viladia is showing 
> the following errors:
> /*[Warning] Could not bind to 127.0.0.1:9050: Cannot assign requested 
> address*//*
> *//*[Warning] /var/run/tor is not owned by this user (tranjeeshan, 1000) 
> but by debian-tor (115). Perhaps you are running Tor as the wrong user?*//*
> *//*[Warning] Before Tor can create a control socket in 
> "/var/run/tor/control", the directory "/var/run/tor" needs to exist, and 
> to be accessible only by the user account that is running Tor.  (On some 
> Unix systems, anybody who can list a socket can connect to it, so Tor is 
> being careful.)*//*
> *//*[Warning] Failed to parse/validate config: Failed to bind one of the 
> listener ports.*/
> 
> Now how can I make Tor work?
> Thanking you,
> Muntasim-Ul-haque

It looks to me like you use Tor Browser Bundle, while at the same time
debian tor package is installed (and running)?

-- 
Fascism has many faces.

http://markorandjelovic.hopto.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140108145513.59b5b...@eunet.rs



Re: how to upgrade only from stable.

2014-01-08 Thread Marko Randjelovic
On Fri, 20 Dec 2013 18:06:33 +0500
Muhammad Yousuf Khan  wrote:
 
> what i want to do is, i  want some packages that are available in wheezy ,
> Sid and unstable repositories, however they are very old in squeeze.
> i also want to keep my system uptodate for any security patchs.  with
> command apt-get upgrade and apt-get dist-upgrade
> but if i run above commands while having entries of sid and unstable in
> sourcelist file it will upgrade my OS to unstable which i do not want.

Use APT pinning. From man page of apt_preferences:

   0 < P <=100
   causes a version to be installed only if there is no installed
   version of the package

So, try something like this:

Package: *
Pin: release a=unstable
Pin-Priority: 50

It's also from the same man page :).

-- 
Fascism has many faces.

http://markorandjelovic.hopto.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140108141053.546a2...@eunet.rs



Re: How do I mount mmc card so that a non-root user has write access?

2013-12-22 Thread Marko Randjelovic
On Fri, 20 Dec 2013 22:39:32 -0700
Lawrence Galka  wrote:

> I am running debian wheezy with the lxde desktop environment.  When I
> insert a mmc card,  it gets detected as /dev/mmcblk0p1 and mounted in
> /media/.  Unfortunately, the /media/ directory is owned by root
> and other users do not have write permission. When I try to copy files to
> this card it throws a permissions error. How do I configure the system to
> allow a non-root user to insert a mmc card and obtain write access to the
> mmc?

Take a look at mount man page for mount options you can use. You have
general options and filesystem specific options (most probably vfat).

-- 
Fascism has many faces.

Marko Ranđelović, Niš, Serbia
marko...@eunet.rs
http://markorandjelovic.hopto.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131222123920.6d130...@eunet.rs



Re: startup console

2013-12-20 Thread Marko Randjelovic
On Fri, 20 Dec 2013 09:33:01 +0700
Diogene Laerce  wrote:

> 
> 
> On 12/20/2013 03:44 AM, André Nunes Batista wrote:
> > On Thu, 2013-12-19 at 15:11 +0700, Diogene Laerce wrote:
> >
> >> Hi,
> >>
> >> Does anybody can tell me where I need to go to configure the console
> >> I get before X starts ?
> >>
> >> For now, I get xterm and a minimal env setup, I'd like to configure those ?
> >> I already tried and choose terminator :
> >>
> >> sudo update-alternatives --config x-terminal-emulator
> >>
> >> But it didn't change anything, I still fall on xterm and it doesn't seem to
> >> take my bashrc.
> >>
> >>  
> > You get xterm before X starts? Go on...
> >
> 
> Sorry but I don't understand your answer : I want to configure and use
> the console when X isn't started.
> 

I'm not sure what is your problem, but I guess you don't want to start
X automatically. Do you use a display manager (GDM, KDM...)? Take a
look at your startup sequence and disable relevant service.

-- 
Fascism have many faces.

Marko Ranđelović, Niš, Serbia
marko...@eunet.rs
http://markorandjelovic.hopto.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131220155734.53d85...@eunet.rs



Re: Init system deba{te|cle}

2013-11-08 Thread Marko Randjelovic
On Mon, 04 Nov 2013 10:44:23 -0600
Conrad Nelson  wrote:

> Not everyone is a programmer, but a lot of non-programmers are still 
> admins but are not interested in working with shell scripts if they 
> don't have to. 

We already have: skeleton, /etc/default. I agree it's poor, but 
as I said, and at least for me, the right way is to extend existing software:

(1) add new features to sysvinit
(2) add new software in addition to sysvinit
(3) make init scripts more correct (abstraction)
(4) extend configurability (more options in /etc/default/*)

(3) makes (4) easily possible

And if sysvinit is in accord with UNIX philosophy,
and as they say it is, than I don't see why (1) and (2) would not be
possible, too, and with not to much effort. About what they say as
disadvantages of sysvinit (lack of features), is not really to blame
sysvinit, because it does one thing and do it right[1]. Other features
could be implemented as additional software. On the other hand, what
actually was done was writing new software that make old software
obsolete and that do *many* things, which is not in accord with UNIX
philosophy (and is in accord with authoritarian philosophy).

> Further, shell scripts can have any number of bugs in 
> them that are harder to find than unit files which rarely have more than 
> a dozen lines in them.

Every complex software has bugs, including complex init system.

[1] 
https://en.wikipedia.org/wiki/Unix_philosophy#Mike_Gancarz:_The_UNIX_Philosophy 
rule 2

-- 
http://mr.flossdaily.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131108134841.71563...@eunet.rs



Re: Init system deba{te|cle}

2013-11-08 Thread Marko Randjelovic
On Sun, 3 Nov 2013 14:33:27 +
Jonathan Dowland  wrote:

> On Sun, Nov 03, 2013 at 10:23:02AM +0100, Marko Randjelovic wrote:
> > I find shell scripts the most efficient way to automate system adin
> > tasks. It could be because I am a programmer, but at least init
> > scripts are already provided, and small modifications should not be a
> > problem even for non-programmers. For new scripts you have 'skeleton'
> > file that can be easily adjusted for a particular work.
> 
> Amongst other problems, how do you (or the package system) reconcile
> when you have made a local modification to an init script and the
> upstream package has made another in an update?

It depends, but if you could do it then I don't see why couldn't you do
anything that is needed later. Besides, configuration files can also
change, just like init scripts. A don't have a feeling that
upstart/systemd configuration is so simple (not so much about syntax,
I was looking at their documentation and there are things such as
'events' and such things have to be properly defined), so it can
also make problems, not just change in init scripts. 

> > There is nothing more standard/portable in Unix-like systems then
> > POSIX shell.
> 
> …which wasn't fully supported on Solaris 9 so you had to use a subset
> (e.g. no $(subshell) syntax). Writing truly portable shell scripts
> across multiple UNIX families was a terrible pain and one could not
> simply rely on the POSIX feature-set. I know this from bitter
> experience.
> 
> I suspect C89 is/was more portable in practice, but the point OP is
> making here isn't the scripting language, for portability, it's the fact
> init scripts do little to abstract the differences between OSes, so
> portable init scripts are very hard to achieve. E.g. Debian uses
> /etc/default for overrides, Redhat-esque systems use various schemes
> under /etc/sysconfig; 

We are talking about Debian init system. init scripts do not need to
support Red Hat because they are on systemd and Solaris is not a
Linux distro and it's not realistic to expect scripts could be
portable between Debian and Solaris.


> various init scripts are written with the
> assumption sh → bash which required a lot of fixing up when Debian and
> Ubuntu moved to a different default sh; and on and on.

We already moved to a different default shell.

> Such OS layout specifics being baked into init scripts also make it much
> harder to make changes, since you break a load of init scripts when the
> assumptions they rely on change.

It's because scripts are not correctly done. All scripts that use the
same resource should not reference that resource directly, but instead
by a common function. That way, when resource location change, you need
to change only relevant function. We could just correct such errors,
and make other corrections/improvements/enhancements instead of 
going into vendor lock-in.

If Debian wants to take care about it's init scripts, I would
really be motivated to be involved. That's why I am not sure 
makers of alternative init systems really very much care about users'
real benefit. They could add additional features as additional
software, not replacement software. Or they could work to improve
existing sysvinit. E.g. they could extend start-stop-daemon to return
only when service is ready, or if timeout exceeds to return with error
status. I'm sure it would be much simpler than making all that. I
primarily mean about systemd and upstart, I didn't have enough time to
learn about OpenRC, but at first glance it looks to me significantly
better. If it's development continues in good direction, Debian could
take OpenRC as replacement for sysvinit, so the worst mistake would be
if we now, without enough vision about eventual consequences, take
systemd or upstart as default init system.

> This is why it's not just systemd that is trying to replace shell
> scripts: nearly all the next-gen init systems do (launchd, upstart,
> openrc… even smf with its XML).

> 
> > I do not see 'start daemons when they are first used' is quite an
> > important benefit and start in parallel is already supported by
> > sysvinit (startpar).
> 
> Some people like socket activation a lot (which is why inetd was used
> to achieve this in the past)

Then it's again a lack of feature in server software (lack of initd
support), and not init system.

> > I don't think UNIX philosophy is not so important. First of all, the
> > principle of all-might is by nature authoritarian. All-in-one
> > "solutions" are a characteristic of big companies that want to impress
> > their users, while not giving them enough real benefit.
> 
> It's a principle near and dear

Re: Init system deba{te|cle}

2013-11-08 Thread Marko Randjelovic
On Mon, 04 Nov 2013 11:06:25 +0100
berenger.mo...@neutralite.org wrote:

> > Systemd makes
> > system startup more complicated and you need to know not only shell
> > scripts but also systemd syntax.
> 
> I'm interested. Do you have a document explaining that you need to use 
> shell scripts with systemd? systemd supports shell scripts, but it's not 
> because it have to, it is because it's authors wants and easy 
> integration of existing stuff, AFAIK.
> 

I didn't write it quite well. I meant about non-standard configuration.

-- 
http://mr.flossdaily.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131108121251.5ac42...@eunet.rs



Re: Wheezy Installation doesn't work on reboot

2013-11-03 Thread Marko Randjelovic
Did you change UEFI mode from "Secure" to "Legacy"?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131103104738.7e75b...@eunet.rs



Re: Init system deba{te|cle}

2013-11-03 Thread Marko Randjelovic
On Tue, 29 Oct 2013 16:55:44 -0400
John  wrote:

> Could someone who has been following the giant fuss on -devel over
> init systems explain why there's such a sense of dire urgency?

I am sure this is not urgent, Gnome should not be default DE and even
they could easily just make two (or more) DE options in installer.
XFCE4 is on Wheezy DVD-1. 

Decisions like changing such an essential part of OS should not be made
in rush.

With systemd, your system cannot start without DBus to coordinate
processes. This makes early system startup to complicated. You cannot
start your system w/o DBus installed and working. This can also make
problems to small/embedded systems because of increased storage/memory
consumption.

SysVInit simply works. Symbolic links are a simple and natural way to
control system startup. We have update-rc.d. And LSB tags provide
protection for order of services.

We should just improve our startup scripts, instead of adapting
everything to systemd. We would have to learn syntax and way of usage
of systemd, and for additional flexibility we would have to use shell
scripts anyway. 

I do not see enough reasons for Gnome to depend on systemd, other than
forcing us to switch to systemd for interests of big corporations.

-- 
http://mr.flossdaily.org


signature.asc
Description: PGP signature


Re: Init system deba{te|cle}

2013-11-03 Thread Marko Randjelovic
On Sat, 02 Nov 2013 15:58:45 +0100
berenger.mo...@neutralite.org wrote:

> _ sysvinit scripts are scripts. Scripts needs programming skills, and 
> the sh language does not have an easy to read syntax. I would in fact 
> call it rather obscure compared to various other languages I used. 
> Systemd configuration files are, real configuration files. Plain-text, 
> no XML (this point is important for me), no script (this one too). Just 
> some key-value associations.

I find shell scripts the most efficient way to automate system adin
tasks. It could be because I am a programmer, but at least init scripts
are already provided, and small modifications should not be a problem
even for non-programmers. For new scripts you have 'skeleton' file that
can be easily adjusted for a particular work.

> _ systemd configuration files can be shared between distributions more 
> easily than sysvinit scripts. Thus, it is "more portable" across linux 
> distributions. The work being centralized, it makes the package's 
> maintainers needed to do less work.

There is nothing more standard/portable in Unix-like systems then POSIX
shell.

> Another advantage it have, is that it is able to parallelize the start 
> of daemons, and to only start daemons when they are first used. It is 
> not an important feature on a server, but for desktops or laptops which 
> are computers you can start lot of times in a day, it can save time. On 
> that particular point, my opinion is that it is not the good solution: 
> the good solution is to only start daemons you really need.

I do not see 'start daemons when they are first used' is quite an
important benefit and start in parallel is already supported by
sysvinit (startpar).
 
> Portability have a 
> cost, and it is often the lack of features or the need to reinvent the 
> wheel on some targets but not on all. WxWidgets knows the problem I am 
> talking about.

I'd say the problem is in the lack of real effort to solve programming
problems in an abstract way.

> 
> And the last problem I can think about, is that it does things that are 
> not only system initialization. It means that, by itself, it might 
> become hard to maintain. I said might, because I never looked at 
> sysvinit source code (since it is old, it could bet not so clean, having 
> be maintained by lot of different people) not systemd's one (good 
> software designs can make things damn easy to maintain, even when they 
> do not do only one thing).
 
> and so, which would imply duplicate work. If Debian was a normal Linux 
> distribution, then portability would not have been a problem. 

I don't see why Debian is not a normal Linux distibution and how
is it related to portability

> There 
> would still be the lack of UNIX philosophy, but, be honest: any 
> distribution using Gnome, KDE or even XFCE as the default DE is already 
> damn far from the UNIX philosophy. I have nothing against that, do not 
> take me wrong, it is a choice. But using those DEs as defaults DE proves 
> that this philosophy is not so important.

I don't think UNIX philosophy is not so important. First of all, the
principle of all-might is by nature authoritarian. All-in-one
"solutions" are a characteristic of big companies that want to impress
their users, while not giving them enough real benefit. Systemd makes
system startup more complicated and you need to know not only shell
scripts but also systemd syntax. This will make many people unable to
solve their system startup problems and force them pay money to big
companies, which is in essence what big companies want. Debian should
not put interests of big companies above interests of its users.

> LXDE, on the other hand, would 
> be a better choice for a UNIX philosophy fan (better, not perfect, since 
> UNIX philosophy imply that softwares discuss between them by text only, 
> which can not really be easily done when you come to GUIs. I think that 
> raw UNIX philosophy is not adapted to modern graphical uses, but this is 
> a personal opinion which can be changed rather easily since I want to be 
> wrong).

I do not think UNIX philosophy is not wrong, I think users are
wrong. Users want false impression of power and that only makes them
dependent on the software that makes them such an illusion, similar to
effect of narcotics. Look what RMS says about companies want to
control their users with software. 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131103102302.42493...@eunet.rs



  1   2   3   >