Re: debian installer custom apt mirror

2015-01-24 Thread Greg Madden
On Sat, Jan 24, 2015 at 8:58 PM, Dylan Bass  wrote:
> Hi,
>
> I recently used apt-mirror to create a local jessie mirror on my LAN.
> I have several computers and laptops that I need to keep updated daily
> and this serves my purpose fine.  I was wondering if there is a way I
> can install Debian using a custom apt mirror instead of the default
> mirrors in the Debian installer.  Thanks!
>

During my installs, one of the options in the 'select mirror' dialog
is  a way to manually enter the url to your mirror.

greg




-- 
Peace

Greg Madden


-- 
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/CAO6D2zKuCn6O=bjrjxjxukogza1aax-7q0u8+kmkihlx2b-...@mail.gmail.com



debian installer custom apt mirror

2015-01-24 Thread Dylan Bass
Hi,

I recently used apt-mirror to create a local jessie mirror on my LAN.
I have several computers and laptops that I need to keep updated daily
and this serves my purpose fine.  I was wondering if there is a way I
can install Debian using a custom apt mirror instead of the default
mirrors in the Debian installer.  Thanks!


-- 
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/canljky1s8sgfdv5kzdgyyt-jo+1hxday1jvj_5lqkdx-cln...@mail.gmail.com



getting usb networking to hotplug

2015-01-24 Thread Rusi Mody
Lenovo laptop without an ethernet port.
So Im using a USB to ethernet dongle.

If I let the defaults of pppoeconf take over then the machine hangs at
boot for 2-3 minutes waiting for (non-existent) eth0 to come up when dongle
not plugged in.

So now my etc/network/interfaces file is:

auto lo
iface lo inet loopback

allow-hotplug dsl-provider
iface dsl-provider inet ppp
pre-up /bin/ip link set eth0 up # line maintained by pppoeconf
provider dsl-provider

#auto eth0
allow-hotplug eth0
iface eth0 inet manual


Is there some way to tell (to whom? udev??)
"Please do "pon dsl-provider" when you see an eth0"

If it matters 

 /etc/udev/rules.d/70-persistent-net.rules contains

# USB device 0x:0x (ax88179_178a)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="", 
ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"


-- 
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/2cff9da8-a861-4167-97de-6277f0fbe...@googlegroups.com



Re: network newbie seeks help combining routesets for VPN tunnel

2015-01-24 Thread Matt Ventura

On 1/24/2015 6:59 PM, Tom Roche wrote:

Tom Roche Sat, 24 Jan 2015 16:00:37 -0500 [1] (envvar names translated to 
`bash`ian)

[The "original routeset" on the client/laptop:]

1:  default via 192.168.1.1 dev eth0  proto static
2:  169.254.0.0/16 dev eth0  scope link  metric 1000
3:  192.168.1.0/24 dev eth0  proto kernel  scope link  src LOCAL_ETH0_IPN

[OpenVPN routeset, overwrites the original routeset:]
1:  0.0.0.0/1 via OPEN_VPN_ENDPT_IPN dev tun0
 # inherited from "original" route#=1?
2:  default via 192.168.1.1 dev eth0  proto static
3:  10.8.0.1 via OPEN_VPN_ENDPT_IPN dev tun0
4:  OPEN_VPN_ENDPT_IPN dev tun0  proto kernel  scope link  src 10.8.0.6
5:  128.0.0.0/1 via OPEN_VPN_ENDPT_IPN dev tun0
 # inherited from "original" route#=2?
6:  169.254.0.0/16 dev eth0  scope link  metric 1000
7:  OPEN_VPN_PUBLIC_IPN via 192.168.1.1 dev eth0
 # inherited from "original" route#=3?
8:  192.168.1.0/24 dev eth0  proto kernel  scope link  src LOCAL_ETH0_IPN
[F5VPN routeset, overwrites the OpenVPN routeset:]
1:  0.0.0.0/1 via F5_VPN_ENDPT_IPN dev ppp0  proto none  metric 1
 # inherited from "original" route#=1?
2:  default via 192.168.1.1 dev eth0  proto static
3:  10.144.0.1 dev ppp0  proto kernel  scope link  src F5_VPN_ENDPT_IPN
4:  128.0.0.0/1 via F5_VPN_ENDPT_IPN dev ppp0  proto none  metric 1
5:  F5_VPN_PUBLIC_IPN via OPEN_VPN_ENDPT_IPN dev tun0  proto none  metric 1
[my proposed new routeset:]
  # 1st route in Hartge's Trinity == OpenVPN route#=1 (compare with F5VPN 
route#=1)
  1:  0.0.0.0/1 via OPEN_VPN_ENDPT_IPN dev tun0
  # inherited from "original" route#=1 == OpenVPN route#=2 == F5VPN route#=2
  2:  default via 192.168.1.1 dev eth0  proto static
  # OpenVPN route#=3
  3:  10.8.0.1 via OPEN_VPN_ENDPT_IPN dev tun0
  # OpenVPN route#=4 , but what is the difference between 'src' and 'via'?
  4:  OPEN_VPN_ENDPT_IPN dev tun0  proto kernel  scope link  src 10.8.0.6
  # F5VPN route#=3
  5:  10.144.0.1 dev ppp0  proto kernel  scope link  src F5_VPN_ENDPT_IPN
  # 2nd route in Hartge's Trinity == OpenVPN route#=5 (compare with F5VPN 
route#=4)
  6:  128.0.0.0/1 via OPEN_VPN_ENDPT_IPN dev tun0
  # inherited from "original" route#=2 == OpenVPN route#=6 (absent in F5VPN 
routeset)
  7:  169.254.0.0/16 dev eth0  scope link  metric 1000
  # OpenVPN route#=7
  8:  OPEN_VPN_PUBLIC_IPN via 192.168.1.1 dev eth0
  # almost F5VPN route#=5 ... but which dev should this take? eth0, ppp0, 
tun0?
  9:  F5_VPN_PUBLIC_IPN via OPEN_VPN_ENDPT_IPN dev   proto none  metric 1
  # inherited from "original" route#=3 == OpenVPN route#=8 (absent in F5VPN 
routeset)
10:  default via 192.168.1.1 dev eth0  proto static

Matt Ventura Sat, 24 Jan 2015 15:04:55 -0800 [2] (slightly rearranged)

Basically, your final routing table, in plain English,

always tricky, that plain English :-)


should look like this:

Please correct me where I get it wrong:


1. Traffic to 192.168.1.0/24 should go through eth0

192.168.1.0/24 dev eth0  proto kernel  scope link  src ${LOCAL_ETH0_IPN}

which is original route#=3 == OpenVPN route#=8


#1 shouldn't ever be touched by either VPN.

OpenVPN respects it, but F5VPN removes it!


2. Traffic to the OpenVPN server's external IP should go through eth0 to 
192.168.1.1

${OPEN_VPN_PUBLIC_IPN} via 192.168.1.1 dev eth0

which is OpenVPN route#=7


#2 is something you'll probably need to manually add before (or after, not 
sure) starting the F5 VPN.

I should be able to script that (more below).


3. Traffic to the F5 VPN server's external IP (I assume this is the 134.x.x.x 
one)

(correct, though F5_VPN_PUBLIC_IPN changes per-connection, hence the 
parameterization)


should go through the OpenVPN ptp endpoint (10.8.0.5)

on dev=tun0? I.e.

${F5_VPN_PUBLIC_IPN} via ${OPEN_VPN_ENDPT_IPN} dev tun0  proto none  metric 1

If so, that's F5VPN route#=5


4. All other traffic should go through the F5 VPN's ptp endpoint (10.144.x.x).

Does '128.0.0.0/1' == 'all other traffic'? If so,

128.0.0.0/1 via ${F5_VPN_ENDPT_IPN} dev ppp0  proto none  metric 1

is F5VPN route#=4


The F5 client seems to be adamant about having route #4 in place, so we don't 
need to worry about that.

OK.


As mentioned above, you should remove the default routing to the OpenVPN server

i.e., proposed route#={1, 3, 4}, which are also OpenVPN route#={1, 3, 4}


and just have [F5_VPN_PUBLIC_IPN] route through the 10.8.0.5, rather than 0/1 
and 128/1.

i.e., F5VPN route#=5.

But then (IIUC) we're routing 128.0.0.0/1 but not 0.0.0.0/1. If so, does 
0.0.0.0/1 not need routed? (And why did I not take the networking elective when 
I got my BSCS ?-(

Meanwhile, assuming I understand correctly, it sounds like, after I start the 
F5VPN client on my client/laptop, I need to produce the routes given above with 
something like the following bash scriptlet:

### IP-related envvars

## (hopefully) constant IP addresses

# public IP# (as visible to, e.g., whatismyip.com) of linode/jumpbox running 
OpenVPN se

Re: network newbie seeks help combining routesets for VPN tunnel

2015-01-24 Thread Tom Roche

Tom Roche Sat, 24 Jan 2015 16:00:37 -0500 [1] (envvar names translated to 
`bash`ian)
>> [The "original routeset" on the client/laptop:]

> 1:  default via 192.168.1.1 dev eth0  proto static
> 2:  169.254.0.0/16 dev eth0  scope link  metric 1000
> 3:  192.168.1.0/24 dev eth0  proto kernel  scope link  src LOCAL_ETH0_IPN

>> [OpenVPN routeset, overwrites the original routeset:]

>> 1:  0.0.0.0/1 via OPEN_VPN_ENDPT_IPN dev tun0
>> # inherited from "original" route#=1?
>> 2:  default via 192.168.1.1 dev eth0  proto static
>> 3:  10.8.0.1 via OPEN_VPN_ENDPT_IPN dev tun0
>> 4:  OPEN_VPN_ENDPT_IPN dev tun0  proto kernel  scope link  src 10.8.0.6
>> 5:  128.0.0.0/1 via OPEN_VPN_ENDPT_IPN dev tun0
>> # inherited from "original" route#=2?
>> 6:  169.254.0.0/16 dev eth0  scope link  metric 1000
>> 7:  OPEN_VPN_PUBLIC_IPN via 192.168.1.1 dev eth0
>> # inherited from "original" route#=3?
>> 8:  192.168.1.0/24 dev eth0  proto kernel  scope link  src LOCAL_ETH0_IPN

>> [F5VPN routeset, overwrites the OpenVPN routeset:]

>> 1:  0.0.0.0/1 via F5_VPN_ENDPT_IPN dev ppp0  proto none  metric 1
>> # inherited from "original" route#=1?
>> 2:  default via 192.168.1.1 dev eth0  proto static
>> 3:  10.144.0.1 dev ppp0  proto kernel  scope link  src F5_VPN_ENDPT_IPN
>> 4:  128.0.0.0/1 via F5_VPN_ENDPT_IPN dev ppp0  proto none  metric 1
>> 5:  F5_VPN_PUBLIC_IPN via OPEN_VPN_ENDPT_IPN dev tun0  proto none  metric 1

>> [my proposed new routeset:]

>>  # 1st route in Hartge's Trinity == OpenVPN route#=1 (compare with F5VPN 
>> route#=1)
>>  1:  0.0.0.0/1 via OPEN_VPN_ENDPT_IPN dev tun0
>>  # inherited from "original" route#=1 == OpenVPN route#=2 == F5VPN 
>> route#=2
>>  2:  default via 192.168.1.1 dev eth0  proto static
>>  # OpenVPN route#=3
>>  3:  10.8.0.1 via OPEN_VPN_ENDPT_IPN dev tun0
>>  # OpenVPN route#=4 , but what is the difference between 'src' and 'via'?
>>  4:  OPEN_VPN_ENDPT_IPN dev tun0  proto kernel  scope link  src 10.8.0.6
>>  # F5VPN route#=3
>>  5:  10.144.0.1 dev ppp0  proto kernel  scope link  src F5_VPN_ENDPT_IPN
>>  # 2nd route in Hartge's Trinity == OpenVPN route#=5 (compare with F5VPN 
>> route#=4)
>>  6:  128.0.0.0/1 via OPEN_VPN_ENDPT_IPN dev tun0
>>  # inherited from "original" route#=2 == OpenVPN route#=6 (absent in 
>> F5VPN routeset)
>>  7:  169.254.0.0/16 dev eth0  scope link  metric 1000
>>  # OpenVPN route#=7
>>  8:  OPEN_VPN_PUBLIC_IPN via 192.168.1.1 dev eth0
>>  # almost F5VPN route#=5 ... but which dev should this take? eth0, ppp0, 
>> tun0?
>>  9:  F5_VPN_PUBLIC_IPN via OPEN_VPN_ENDPT_IPN dev   proto none  metric 1
>>  # inherited from "original" route#=3 == OpenVPN route#=8 (absent in 
>> F5VPN routeset)
>> 10:  default via 192.168.1.1 dev eth0  proto static

Matt Ventura Sat, 24 Jan 2015 15:04:55 -0800 [2] (slightly rearranged)
> Basically, your final routing table, in plain English,

always tricky, that plain English :-)

> should look like this:

Please correct me where I get it wrong:

> 1. Traffic to 192.168.1.0/24 should go through eth0

192.168.1.0/24 dev eth0  proto kernel  scope link  src ${LOCAL_ETH0_IPN}

which is original route#=3 == OpenVPN route#=8

> #1 shouldn't ever be touched by either VPN.

OpenVPN respects it, but F5VPN removes it!

> 2. Traffic to the OpenVPN server's external IP should go through eth0 to 
> 192.168.1.1

${OPEN_VPN_PUBLIC_IPN} via 192.168.1.1 dev eth0

which is OpenVPN route#=7

> #2 is something you'll probably need to manually add before (or after, not 
> sure) starting the F5 VPN.

I should be able to script that (more below).

> 3. Traffic to the F5 VPN server's external IP (I assume this is the 134.x.x.x 
> one)

(correct, though F5_VPN_PUBLIC_IPN changes per-connection, hence the 
parameterization)

> should go through the OpenVPN ptp endpoint (10.8.0.5)

on dev=tun0? I.e.

${F5_VPN_PUBLIC_IPN} via ${OPEN_VPN_ENDPT_IPN} dev tun0  proto none  metric 1

If so, that's F5VPN route#=5

> 4. All other traffic should go through the F5 VPN's ptp endpoint (10.144.x.x).

Does '128.0.0.0/1' == 'all other traffic'? If so,

128.0.0.0/1 via ${F5_VPN_ENDPT_IPN} dev ppp0  proto none  metric 1

is F5VPN route#=4

> The F5 client seems to be adamant about having route #4 in place, so we don't 
> need to worry about that.

OK.

> As mentioned above, you should remove the default routing to the OpenVPN 
> server

i.e., proposed route#={1, 3, 4}, which are also OpenVPN route#={1, 3, 4}

> and just have [F5_VPN_PUBLIC_IPN] route through the 10.8.0.5, rather than 0/1 
> and 128/1.

i.e., F5VPN route#=5.

But then (IIUC) we're routing 128.0.0.0/1 but not 0.0.0.0/1. If so, does 
0.0.0.0/1 not need routed? (And why did I not take the networking elective when 
I got my BSCS ?-(

Meanwhile, assuming I understand correctly, it sounds like, after I start the 
F5VPN client on my client/laptop, I need to produce the routes given above with 
something like the following bash scriptlet:

### IP-related envvars

## (hopefull

Re: Unable to configure UPS options

2015-01-24 Thread Melvin Call
On 1/24/15, mrr  wrote:
> On 24/01/2015 03:50, Melvin Call wrote:
>> Hello,
>>
>> I have two computers, both running Wheezy and the
>> XFCE4 Desktop. Both have attached UPS devices, and
>> lsusb shows the UPS attached to each machine. Yet,
>> on one I have options to configure actions to take
>> when on battery, and on the other I have no "On
>> Battery" tab. I enabled the battery monitor plug-in
>> in the notification area on both, and the problematic
>> one shows only to be online (no battery present).
>>
>> I am looking for help to enable the battery option
>> on the second machine so when the power goes off
>> the system will shutdown or suspend to RAM at my
>> choosing. I have compared installed packages between
>> the two and see nothing significant. What would my
>> next step be, please?
>>
>> Regards,
>> Melvin
>>
>>
>
> Hi Melvin,
>
> You can use:
> $ acpi --battery
> to get battery information.
>
> You can create a udev rule to trigger (for example) a suspend to RAM
> (/usr/sbin/pm-suspend) when the battery is unplugged or below a limit.
> I can lead you to information about that if you are interested.
>
> Apart form this I have no clue about the xfce widget (I'm not on a
> laptop) but you could try some of the xfce4-power-* commands:
> $ xfce4-power-information
> $ xfce4-power-manager
> $ xfce4-power-manager-settings
>
> And of course, continue to investigate differences (maybe in /etc or in
> ~/.local) between your 2 computers, that's a good idea!
>
> Cheers,
>
> --
> mrr


Thanks for the reply mrr. And I would welcome pointers to developing udev rules.
I dabbled with that a while back, but never really did much with it. In this
case it may be what I need.

I thought you had hit the nail on the head when I tried the acpi command, but
the same command on the "working" system shows the same output:
no-battery:~]$ acpi --battery
No support for device type: power_supply
and
with-battery:~]$ acpi --battery
No support for device type: power_supply

So I tried acpi -V, but there is no real difference:
no-battery:~]$ acpi -V
No support for device type: power_supply
No support for device type: power_supply
Cooling 0: intel_powerclamp no state information available
Cooling 1: Processor 0 of 0
Cooling 2: Processor 0 of 0
Cooling 3: Processor 0 of 0
Cooling 4: Processor 0 of 0
Cooling 5: Processor 0 of 0
Cooling 6: Processor 0 of 0
Cooling 7: Processor 0 of 0
Cooling 8: Processor 0 of 0
Cooling 9: Processor 0 of 0
Cooling 10: Processor 0 of 0
Cooling 11: Processor 0 of 0
Cooling 12: Processor 0 of 0
and
with-battery:~]$ acpi -V
No support for device type: power_supply
No support for device type: power_supply
Thermal 0: ok, 40.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 75.0 degrees C
Thermal 0: trip point 1 switches to mode passive at temperature 73.0 degrees C
Thermal 0: trip point 2 switches to mode active at temperature 73.0 degrees C
Cooling 0: Processor 0 of 3
Cooling 1: Fan 1 of 1

I don't see anything in /etc or ~/.local that jumps out at me. The only thing I
found that was definitely different was
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml does not
have the battery setting in it on the non-working system, but since that file
seems to reflect the settings of xfce4-power-manager-settings I would expect
that to be the case.

So yeah, if you have some udev rule writing help that you can point me to, I
will try that avenue.

Thanks!
Melvin


-- 
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/cadgqn54fbkttasfrdl0eem64oeufuxyk+5qpgqsvnd7f0l1...@mail.gmail.com



Re: Question a-propos a USB modem

2015-01-24 Thread Greg Madden
>>  just reboot the machine.

Use 'top' or 'ps' to kill a process that won't die gracefully.
>
>Shades of MS Windows  ;-3(

That is what systemd is for ;-)


-- 
Peace

Greg

On Sat, Jan 24, 2015 at 1:26 PM, Renaud  OLGIATI
 wrote:
> On Sat, 24 Jan 2015 21:45:09 +
> Philip Ashmore  wrote:
>
>>  just reboot the machine.
>
> Shades of MS Windows  ;-3(
>
> Thanks to all for your help.
>
> Cheers,
>
> Ron.
> --
>It is not too late to turn back
>   from the Gates of Hell. Use Linux.
>
>-- http://www.olgiati-in-paraguay.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/CAO6D2z+OrJk=OuXsdiNTa=gudnfpccuoq3c-potroy7hptl...@mail.gmail.com



Re: HP 3050A is not printing anymore after debian update on jessie

2015-01-24 Thread Brian
On Sun 25 Jan 2015 at 00:30:15 +, Brian wrote:

> Are you using stable or testing?

Forget this. I read the subject line. :)


-- 
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/25012015003135.66900fea5...@desktop.copernicus.demon.co.uk



Re: HP 3050A is not printing anymore after debian update on jessie

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 23:10:19 +0100, Thomas wrote:

> Am Samstag, 24. Januar 2015, 19:03:25 schrieb Thomas:
> > 
> > http://localhost:631/admin
> > 
> > let me admin cups and start the printer...
> > 
> 
> Every time i shutdown the PC CUPS forgot my printer so I have to admin with 
> http://localhost:631/admin after startup the PC_

Please post what the following commands give:

1. lpstat -t

2. lpinfo -v (Do this as root, if necessary)

3. ls -l /etc/cups/ppd/

> Again the problem happened after latest debian update, before everythink 
> works 
> fine.

Are you using stable or testing?


-- 
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/25012015001802.4c44ebc9e...@desktop.copernicus.demon.co.uk



Re: network newbie seeks help combining routesets for VPN tunnel

2015-01-24 Thread Matt Ventura

On 1/24/2015 1:00 PM, Tom Roche wrote:


Sven Hartge Fri, 23 Jan 2015 21:53:35 +0100 [3] (tweaked)

That would complete the VPN Trinity:
* one route   0.0.0.0/1
* one route 128.0.0.0/1
* one host route to the other VPN endpoint (making it reachable regardless of 
other routes)

I'm looking at the following client routesets (as reported by `ip route show` and am not 
seeing how to combine them. This is the "original routeset" put on my 
client/laptop (by ... some combination of Debian and my ISP?) (line numbers added):

1:  default via 192.168.1.1 dev eth0  proto static
2:  169.254.0.0/16 dev eth0  scope link  metric 1000
3:  192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.142

This is the routeset put on my client/laptop by the OpenVPN client

1:  0.0.0.0/1 via 10.8.0.5 dev tun0
 # inherited from "original" route#=1?
2:  default via 192.168.1.1 dev eth0  proto static
3:  10.8.0.1 via 10.8.0.5 dev tun0
4:  10.8.0.5 dev tun0  proto kernel  scope link  src 10.8.0.6
5:  128.0.0.0/1 via 10.8.0.5 dev tun0
 # inherited from "original" route#=2?
6:  169.254.0.0/16 dev eth0  scope link  metric 1000
7:  SER.VER.IP.NUM via 192.168.1.1 dev eth0
 # inherited from "original" route#=3?
8:  192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.142

where SER.VER.IP.NUM==relatively static IP# of the {linode, OpenVPN server}, 
which the F5VPN server needs to see.

This is the routeset put on my client/laptop by the F5NAP[4] (aka F5VPN 
client), overwriting the OpenVPN client routeset:

1:  0.0.0.0/1 via 10.144.1.8 dev ppp0  proto none  metric 1
 # inherited from "original" route#=1?
2:  default via 192.168.1.1 dev eth0  proto static
3:  10.144.0.1 dev ppp0  proto kernel  scope link  src 10.144.1.8
4:  128.0.0.0/1 via 10.144.1.8 dev ppp0  proto none  metric 1
5:  F5.VPN.IP.NUM via 10.8.0.5 dev tun0  proto none  metric 1

So the question is, how to synthesize (in the dialectic sense[5]) the two 
routesets into one that will make both VPNs happy and achieve my goals[1]? Note 
that

0. In "the productive past"[6], after my client/laptop connected to the 
F5VPN[7], *all* IP traffic from the client/laptop routed through the F5VPN. This was 
annoying (due to, e.g., inability to SMTP (disallowed service), general sluggishness, 
belief that all my traffic was being logged by the agency), but *did* allow me to SSH 
into the agency's clusters, which is my primary need.

1. For now, I'm just trying to have *all* IP traffic from my client/laptop routed through 
the OpenVPN server (so that it "shows" the OpenVPN server's IP#, which is 
registered/whitelisted with the F5VPN) to the F5VPN server. That *should* allow me to 
resume SSHing into the clusters.

2. Ultimately, I'd like to redesign such that I could separately route (only) SSH traffic 
through the VPNs, with other traffic going through my ISP's modem "normally."

I suspect something like the following routeset is needed, but see questions 
(embedded and following), and note `ip route` syntax (I suspect I can translate 
from `route` syntax if needed, but I like the way I can plug `ip route show` 
results directly into `ip route add` and `ip route del`):

  # 1st route in Hartge's Trinity == OpenVPN route#=1 (compare with F5VPN 
route#=1)
  1:  0.0.0.0/1 via 10.8.0.5 dev tun0
  # inherited from "original" route#=1 == OpenVPN route#=2 == F5VPN route#=2
  2:  default via 192.168.1.1 dev eth0  proto static
  # OpenVPN route#=3
  3:  10.8.0.1 via 10.8.0.5 dev tun0
  # OpenVPN route#=4 , but what is the difference between 'src' and 'via'?
  4:  10.8.0.5 dev tun0  proto kernel  scope link  src 10.8.0.6
  # F5VPN route#=3
  5:  10.144.0.1 dev ppp0  proto kernel  scope link  src 10.144.1.8
  # 2nd route in Hartge's Trinity == OpenVPN route#=5 (compare with F5VPN 
route#=4)
  6:  128.0.0.0/1 via 10.8.0.5 dev tun0
  # inherited from "original" route#=2 == OpenVPN route#=6 (absent in F5VPN 
routeset)
  7:  169.254.0.0/16 dev eth0  scope link  metric 1000
  # OpenVPN route#=7
  8:  SER.VER.IP.NUM via 192.168.1.1 dev eth0
  # almost F5VPN route#=5 ... but which dev should this take? eth0, ppp0, 
tun0?
  9:  F5.VPN.IP.NUM via 10.8.0.5 dev   proto none  metric 1
  # inherited from "original" route#=3 == OpenVPN route#=8 (absent in F5VPN 
routeset)
10:  192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.142

Question 1: what is the difference between 'src' and 'via' in `ip route` 
syntax? I see


but am not sure how to apply this knowledge to route statements.

Question 2: which dev[ice] should traffic to F5.VPN.IP.NUM go on? Such traffic 
has gotta go via the OpenVPN server == SER.VER.IP.NUM (which is usually 
serviced by `dev tun0`) but ultimately wants to go to F5.VPN.IP.NUM (which is 
usually serviced by `dev ppp0`).

Question 3: What am I missing? Conversely, what do I have that is superfluous?

Your assistance is appreciated! Tom Roche

[1]: 
https://bitbucket.org/tlroche/linode_jumpbox_con

Re: Question a-propos a USB modem

2015-01-24 Thread Ron
On Sat, 24 Jan 2015 21:45:09 +
Philip Ashmore  wrote:

>  just reboot the machine.

Shades of MS Windows  ;-3(

Thanks to all for your help.
 
Cheers,
 
Ron.
-- 
   It is not too late to turn back
  from the Gates of Hell. Use Linux.

   -- http://www.olgiati-in-paraguay.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/20150124192640.1a613...@ron.cerrocora.org



Re: HP 3050A is not printing anymore after debian update on jessie

2015-01-24 Thread Thomas
Am Samstag, 24. Januar 2015, 19:03:25 schrieb Thomas:
> 
> http://localhost:631/admin
> 
> let me admin cups and start the printer...
> 

Every time i shutdown the PC CUPS forgot my printer so I have to admin with 
http://localhost:631/admin after startup the PC_

Again the problem happened after latest debian update, before everythink works 
fine.

best regards
Thomas


-- 
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/1437655.i0biRuNgdA@tmprod1



Re: Question a-propos a USB modem

2015-01-24 Thread Philip Ashmore

On 24/01/15 16:11, Renaud (Ron) OLGIATI wrote:

On Sat, 24 Jan 2015 15:35:15 +0100
Hans  wrote:


When I plug in my USB modem, it is recognized and mounted on /dev/ttyACM0
Sadly, it is not accessible to the user as:
root@ron # ls -l /dev/ttyA*
crw-rw---T 1 root dialout 166, 0 Jan 24 11:23 /dev/ttyACM0
and I must chmod a+rw before users can use it.
Is there a way to make it mount crw-rw-rw-T without root intervention ?



I believe (but I am not sure), the user, whos wants to use the modem, must be
in group "dialout". Take a look at the rigts of the modem aka /dev/.


I have added the user to the dialout group, with no result: cannot send a fax 
until I have chmod'ed /dev/ttyACM0

Cheers,

Ron.

The user has to log out and log in again for the group changes to take 
effect.


I've experienced the case where daemons running on behalf of the user 
continue to run even though the user has logged out, so check for these 
or just reboot the machine.


Regards,
Philip Ashmore


--
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/54c41265.6090...@philipashmore.com



network newbie seeks help combining routesets for VPN tunnel

2015-01-24 Thread Tom Roche

summary: How to combine/synthesize OpenVPN and F5VPN routesets, so that
the F5VPN can tunnel through the OpenVPN? 3 more specific questions @ end.

details:

my intent [1]
>>>   <-my control | agency control->
>>>|
>>> (DHCP from ISP)   (static) |   (per-connection)
>>> CLI.ENT.IP.NUMSER.VER.IP.NUM   |   F5.VPN.IP.NUMfirewall
>>> +---+  +---+   |   +---+   ||   +-+
>>> | laptop +  |  | linode  + |   |   | remote-access |   ||   | cluster |
>>> | OpenVPN   | <--> | OpenVPN   | <-|-> | website + | <-||-> | node(s) |
>>> | client +  |  | server  + |   |   | F5VPN server  |   ||   | |
>>> | F5 client |  | other |   |   |   |   ||   | |
>>> |   |  | security  |   |   |   |   ||   | |
>>> +---+  +---+   |   +---+   ||   +-+

Matt Ventura Fri, 23 Jan 2015 12:47:21 -0800 [2]
>> The F5 VPN is throwing its default route over the original one, and that's
>> causing traffic to the OpenVPN server to try to route over the F5 VPN.
>> Obviously this doesn't work because the traffic to the F5 VPN needs to
>> go through the OpenVPN link, so it becomes circular.

>> What you need to do is add a route, something like:
>> route add  gw 192.168.1.1 dev eth0
>> so that the traffic to the OpenVPN server can be routed properly.

Sven Hartge Fri, 23 Jan 2015 21:53:35 +0100 [3] (tweaked)
> That would complete the VPN Trinity:
> * one route   0.0.0.0/1
> * one route 128.0.0.0/1
> * one host route to the other VPN endpoint (making it reachable regardless of 
> other routes)

I'm looking at the following client routesets (as reported by `ip route show` 
and am not seeing how to combine them. This is the "original routeset" put on 
my client/laptop (by ... some combination of Debian and my ISP?) (line numbers 
added):

1:  default via 192.168.1.1 dev eth0  proto static 
2:  169.254.0.0/16 dev eth0  scope link  metric 1000 
3:  192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.142 

This is the routeset put on my client/laptop by the OpenVPN client

1:  0.0.0.0/1 via 10.8.0.5 dev tun0
# inherited from "original" route#=1?
2:  default via 192.168.1.1 dev eth0  proto static
3:  10.8.0.1 via 10.8.0.5 dev tun0
4:  10.8.0.5 dev tun0  proto kernel  scope link  src 10.8.0.6
5:  128.0.0.0/1 via 10.8.0.5 dev tun0
# inherited from "original" route#=2?
6:  169.254.0.0/16 dev eth0  scope link  metric 1000
7:  SER.VER.IP.NUM via 192.168.1.1 dev eth0
# inherited from "original" route#=3?
8:  192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.142

where SER.VER.IP.NUM==relatively static IP# of the {linode, OpenVPN server}, 
which the F5VPN server needs to see. 

This is the routeset put on my client/laptop by the F5NAP[4] (aka F5VPN 
client), overwriting the OpenVPN client routeset:

1:  0.0.0.0/1 via 10.144.1.8 dev ppp0  proto none  metric 1
# inherited from "original" route#=1?
2:  default via 192.168.1.1 dev eth0  proto static
3:  10.144.0.1 dev ppp0  proto kernel  scope link  src 10.144.1.8
4:  128.0.0.0/1 via 10.144.1.8 dev ppp0  proto none  metric 1
5:  F5.VPN.IP.NUM via 10.8.0.5 dev tun0  proto none  metric 1

So the question is, how to synthesize (in the dialectic sense[5]) the two 
routesets into one that will make both VPNs happy and achieve my goals[1]? Note 
that

0. In "the productive past"[6], after my client/laptop connected to the 
F5VPN[7], *all* IP traffic from the client/laptop routed through the F5VPN. 
This was annoying (due to, e.g., inability to SMTP (disallowed service), 
general sluggishness, belief that all my traffic was being logged by the 
agency), but *did* allow me to SSH into the agency's clusters, which is my 
primary need.

1. For now, I'm just trying to have *all* IP traffic from my client/laptop 
routed through the OpenVPN server (so that it "shows" the OpenVPN server's IP#, 
which is registered/whitelisted with the F5VPN) to the F5VPN server. That 
*should* allow me to resume SSHing into the clusters.

2. Ultimately, I'd like to redesign such that I could separately route (only) 
SSH traffic through the VPNs, with other traffic going through my ISP's modem 
"normally."

I suspect something like the following routeset is needed, but see questions 
(embedded and following), and note `ip route` syntax (I suspect I can translate 
from `route` syntax if needed, but I like the way I can plug `ip route show` 
results directly into `ip route add` and `ip route del`):

 # 1st route in Hartge's Trinity == OpenVPN route#=1 (compare with F5VPN 
route#=1)
 1:  0.0.0.0/1 via 10.8.0.5 dev tun0
 # inherited from "original" route#=1 == OpenVPN route#=2 == F5VPN route#=2
 2:  default via 192.168.1.1 dev eth0  proto static
 # OpenVPN route#=3
 3:  10.8.0.1 via 10.8.0.5 dev tun0
 # OpenVPN route#=4 , but what is the difference between 'src' and 'v

Re: upgrade kernel

2015-01-24 Thread Pascal Hambourg
mrr a écrit :
> 
> I saw somewhere during kernel compilation an option to load a kernel on 
> the fly but I haven't gone further (maybe it was targeted at kernel 
> developers).

If you're talking about kexec, it just avoid the firmware POST and
bootloader stage of a complete reboot, but not the system init. AFAIK
you cannot just swap kernels while userland processes keep running.

Or are you talking about live kernel patching such as ksplice, which
allows security patches to be applied to a running kernel without
rebooting ?

> So usually, you do reboot after a kernel upgrade if you want to run the 
> new one.
> 
> It's the only occasion (I hope systemd hasn't changed that!) when an 
> upgrade needs a reboot (or am I wrong?). Sometimes though you need a 
> simple log out / log in.

All running processes using an upgraded executable must be restarted,
otherwise it keeps using the old version. This include all the libraries
it uses. When the libc, which is used by most programs, is upgraded, it
may be easier to reboot the whole system.


-- 
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/54c3ff27.5070...@plouf.fr.eu.org



Re: squeeze lts

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 18:26:31 +, Brian wrote:

> I do think my experience is necessarily typical as the mirror is usually

A "not" in there as the third word would allow sense to be made of what
I wanted to say.


-- 
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/24012015191017.22d51af96...@desktop.copernicus.demon.co.uk



Re: Minimal configuration for a laptop

2015-01-24 Thread Patrick Bartek
On Sat, 24 Jan 2015, Selim T. Erdoğan wrote:

> On Fri, Jan 23, 2015 at 05:54:17PM -0800, Patrick Bartek wrote:
> > On Fri, 23 Jan 2015, Selim T. Erdoğan wrote:
> > 
> > > I also got a second-hand Thinkpad last month, a T400, and I love
> > > it too. I think it's from 2009 or 2010.
> > > 
> > > Mine has an Intel core 2 duo CPU (P8400  @ 2.26GHz) and 4GB ram,
> > > but a slightly slower CPU and 2GB of ram would also be fine for
> > > web browsing and office stuff.  However, I don't know how much
> > > memory freemind or other electronic design software uses, so I
> > > would recommend getting 4GB if you can.  (The T400 is upgradable
> > > to 8GB. You might want to check the maximum memory capacity on
> > > laptops you're considering.)
> > > 
> > > (BTW, for office and the web, even 1GB might work but it may be a 
> > > little tight.  Myolder laptop had 1GB ram and it didn't run out
> > > of memory often --- only when I had very many tabs open --- but
> > > the single-core Amd athlon xp 2200 @ 1.6GHz was slow.  It was
> > > from 2004.)
> 
> I agree with your comments below, about the desktop environment
> affecting how much ram is needed.  I should have mentioned that what
> I wrote above was based on using MATE.

I wasn't finding fault with your recommendations, just clarifying based
on my experiences.  Better to have more info than you need than not
enough. ;-)  While I agree that MATE is a lighter weight environment
than the current GNOME, and probably GNOME2, too, it still is heavier
than XFCE, LXDE or a window manager.

Really, I've discovered through fooling around with TinyX, X is a
RAM hog, too, reardless of GUI.  But what are you going to do?  TinyX
really isn't suitable as a general X server.  Even recompiling X
doesn't help much.  It's just the nature of the beast.  Fortunately, RAM
is cheap.  


> 
> > How much RAM is sufficient depends more on the desktop GUI.  For
> > GNOME and KDE, I recommend 4GB at least.  The system I'm using now
> > has gone through multiple upgrades (hardware and OSes) since I
> > built it in 2007 with a 2.0GHZ 64-bit single-core AMD CPU & 2 GB
> > RAM running Fedora 6, first 32-bit, then 64, and GNOME2.  Even with
> > just a browser, file manager, and a few applets running, it could
> > be sluggish at times, particularly when accessing the menus.
> > Upgrading to 4GB RAM solved all that.
> > 
> > However, if using XFCE or LXDE or just a window manager, 1 or 2 GB
> > RAM would be fine.

B


--
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/20150124102735.42086...@debian7.boseck208.net



Re: squeeze lts

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 10:22:26 -0700, Glenn English wrote:

> 
> On Jan 24, 2015, at 8:05 AM, Brian  wrote:
> 
> > http://http.debian.net describes what the redirector does. In your case
> > it appears to have chosen a mirror which is not in a very healthy state;
> > try http://198.52.129.244 and see what you think.
> > 
> > When I've had this problem I've found that the redirector eventually
> > takes me somewhere which does work
> 
> Thanks, Brian. I'll give a try.

I do think my experience is necessarily typical as the mirror is usually
temporarily unavailable. 198.52.129.244 appears to be comotose. It would
be interesting if you could let us know whether the redirector is able
to work round this.


-- 
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/24012015182048.0d6fd58c1...@desktop.copernicus.demon.co.uk



Re: HP 3050A is not printing anymore after debian update on jessie

2015-01-24 Thread Thomas
Am Samstag, 24. Januar 2015, 17:44:13 schrieb Brian:
> On Sat 24 Jan 2015 at 16:33:26 +0100, Thomas wrote:
> > I stoped and started cups but nothink change, printing is still not
> > working...
> [Snip]
> 
> > D [24/Jan/2015:16:27:06 +0100] CUPS-Get-Default client-error-not-found:
> > Kein voreingestelltes Druckziel
> 
> "No default print destination"
> 
> You could try setting one from localhost:631 or with 'lpadmin -d'.

Hi, thanks,

http://localhost:631/admin

let me admin cups and start the printer...

best regards
Thomas



-- 
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/3461337.ghFWE9tIYZ@tmprod1



Re: Is this a hacking attempt?

2015-01-24 Thread Pavlos K. Ponos

Hi folks,
I had the same issue with Iceweasel and flash-player, not gnash.
I then switched to Chromium and un-install the adobe's flash 
(obsolete..), problem solved.


On 01/21/2015 02:56 AM, 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?
Apart from game sites, almost all betting websites have restrictions in 
terms of using the flash-player and not gnash.



Regards,
Pavlos

*Pavlos K. Ponos*
View Pavlos K. Ponos's profile on LinkedIn 



Re: HP 3050A is not printing anymore after debian update on jessie

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 16:33:26 +0100, Thomas wrote:

> I stoped and started cups but nothink change, printing is still not working...

[Snip]

> D [24/Jan/2015:16:27:06 +0100] CUPS-Get-Default client-error-not-found: Kein 
> voreingestelltes Druckziel

"No default print destination"

You could try setting one from localhost:631 or with 'lpadmin -d'.


-- 
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/24012015173955.e55b10e04...@desktop.copernicus.demon.co.uk



Re: squeeze lts

2015-01-24 Thread Glenn English

On Jan 24, 2015, at 8:05 AM, Brian  wrote:

> http://http.debian.net describes what the redirector does. In your case
> it appears to have chosen a mirror which is not in a very healthy state;
> try http://198.52.129.244 and see what you think.
> 
> When I've had this problem I've found that the redirector eventually
> takes me somewhere which does work

Thanks, Brian. I'll give a try.

-- 
Glenn English




-- 
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/e9d23e85-dec6-4924-8aee-6b11d1cd4...@slsware.net



Re: [solved] Re: Can't boot from pendrive

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 16:51:20 +, Rodolfo Medina wrote:

> But now, one more question: after using the pendrive for the installation, how
> can I restore it as it was before, to use it to store files?

dd if=/dev/zero of=/dev/sdX count=1

Then partition and put filesystems on the partitions.


-- 
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/24012015171322.e4a07ec0a...@desktop.copernicus.demon.co.uk



Re: Question a-propos a USB modem

2015-01-24 Thread Brad Rogers
On Sat, 24 Jan 2015 13:11:45 -0300
Renaud (Ron) OLGIATI  wrote:

Hello Renaud,

>I have added the user to the dialout group,

Did you log out, and back in again?  Group changes aren't always
recognised in the current session, but will be in a new one.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Life's short, don't make a mess of it
No Time To Be 21 - The Adverts


pgpuXOJiwAVZj.pgp
Description: OpenPGP digital signature


[solved] Re: Can't boot from pendrive

2015-01-24 Thread Rodolfo Medina
Rodolfo Medina  writes:

> Brian  writes:
>
>> On Sat 24 Jan 2015 at 15:41:05 +, Rodolfo Medina wrote:
>>
>>> Brian  writes:
>>> 
>>> > On Sat 24 Jan 2015 at 15:18:28 +, Rodolfo Medina wrote:
>>> >
>>> >> Brian  writes:
>>> >> 
>>> >> > On Sat 24 Jan 2015 at 12:26:02 +, Rodolfo Medina wrote:
>>> >> >
>>> >> >> From:
>>> >> >> 
>>> >> >>  http://www.us.debian.org/CD/netinst/
>>> >> >> 
>>> >> >> I downloaded the file debian-7.8.0-i386-netinst.iso and copied it
>>> >> >> onto a pendrive with:
>>> >> >> 
>>> >> >>  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync
>>> >> 
>>> >> That was actually `sdb1', not `sdc', sorry.
>>> >
>>> > That's not an ok command if you want the stick to be bootable. Try
>>> > /dev/sdb.
>>> 
>>> How do I restore the pendrive?  Now there's no space left, or permissions
>>> are denied.
>>
>> No restoring is needed.
>>
>>dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdX bs=4M; sync
>>
>> will obliterate the drive's contents.
>>
>> Note it is /dev/sdX, not /dev/sdXN. Writing to partition number N will
>> not make the drive bootable.
>
>
> The command
>
> dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdb bs=4M; sync
>
> , if given as a normal user, gets the `permission denied', and, as superuser,
> the complain that there's `no space left' on the device.


Ok, it was `sdd', not `sdb'.  Now I can boot from the pendrive.  The mistake
was to do:

 dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdd1 bs=4M; sync

whereas it must be:

 dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdd bs=4M; sync

Thanks to all.

But now, one more question: after using the pendrive for the installation, how
can I restore it as it was before, to use it to store files?

Thanks,

Rodolfo


-- 
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/878ugsruk7.fsf...@gmail.com



Re: Can't boot from pendrive

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 16:12:52 +, Rodolfo Medina wrote:

> Brian  writes:
> 
> > No restoring is needed.
> >
> >dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdX bs=4M; sync
> >
> > will obliterate the drive's contents.
> >
> > Note it is /dev/sdX, not /dev/sdXN. Writing to partition number N will
> > not make the drive bootable.
> 
> 
> The command
> 
> dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdb bs=4M; sync
> 
> , if given as a normal user, gets the `permission denied',

That's fine. A user is not allowed to write directly to a disk device.

>and, as superuser,
> the complain that there's `no space left' on the device.

Is the complaint issued *immediately* after the dd command or some time
later? What is the size of the pendrive?

Please try

   cat debian-7.8.0-i386-netinst.iso > /dev/sdb


-- 
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/20150124164052.ga27...@copernicus.demon.co.uk



Re: Question a-propos a USB modem

2015-01-24 Thread Ron
On Sat, 24 Jan 2015 15:35:15 +0100
Hans  wrote:

> > When I plug in my USB modem, it is recognized and mounted on /dev/ttyACM0
> > Sadly, it is not accessible to the user as:
> > root@ron # ls -l /dev/ttyA*
> > crw-rw---T 1 root dialout 166, 0 Jan 24 11:23 /dev/ttyACM0
> > and I must chmod a+rw before users can use it.
> > Is there a way to make it mount crw-rw-rw-T without root intervention ?

> I believe (but I am not sure), the user, whos wants to use the modem, must be 
> in group "dialout". Take a look at the rigts of the modem aka /dev/.

I have added the user to the dialout group, with no result: cannot send a fax 
until I have chmod'ed /dev/ttyACM0
 
Cheers,
 
Ron.
-- 
Sex without love is an empty experience, but,
as empty experiences go, it's one of the best.
-- Woody Allen

   -- http://www.olgiati-in-paraguay.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/20150124131145.64314...@ron.cerrocora.org



Re: Can't boot from pendrive

2015-01-24 Thread Rodolfo Medina
Brian  writes:

> On Sat 24 Jan 2015 at 15:41:05 +, Rodolfo Medina wrote:
>
>> Brian  writes:
>> 
>> > On Sat 24 Jan 2015 at 15:18:28 +, Rodolfo Medina wrote:
>> >
>> >> Brian  writes:
>> >> 
>> >> > On Sat 24 Jan 2015 at 12:26:02 +, Rodolfo Medina wrote:
>> >> >
>> >> >> From:
>> >> >> 
>> >> >>  http://www.us.debian.org/CD/netinst/
>> >> >> 
>> >> >> I downloaded the file debian-7.8.0-i386-netinst.iso and copied it onto
>> >> >> a pendrive with:
>> >> >> 
>> >> >>  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync
>> >> 
>> >> That was actually `sdb1', not `sdc', sorry.
>> >
>> > That's not an ok command if you want the stick to be bootable. Try
>> > /dev/sdb.
>> 
>> How do I restore the pendrive?  Now there's no space left, or permissions
>> are denied.
>
> No restoring is needed.
>
>dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdX bs=4M; sync
>
> will obliterate the drive's contents.
>
> Note it is /dev/sdX, not /dev/sdXN. Writing to partition number N will
> not make the drive bootable.


The command

dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdb bs=4M; sync

, if given as a normal user, gets the `permission denied', and, as superuser,
the complain that there's `no space left' on the device.

Thanks,

Rodolfo


-- 
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/871tmktawr@gmail.com



Re: video chat in gmail using iceweasel is not working

2015-01-24 Thread kamaraju kusumanchi
On Tue, Jan 20, 2015 at 5:10 AM, Alexis  wrote:
>
> kamaraju kusumanchi writes:
>
>> FWIW, I get
>>
>> "A plugin is needed to display this content."
>>
>> error even when I go to https://www.adobe.com/shockwave/welcome/ ,
>> https://www.adobe.com/shockwave/welcome/authorwareonly.html . Since
>> this has nothing to do with the webcam, I believe the problem is in
>> the software rather than hardware.
>
> Perhaps the Hangout plugin is what's required?
>
> https://www.google.com/tools/dlpage/hangoutplugin

As I mentioned in my original email, I already have this installed.

% dpkg -l google-talk\* | grep ^ii
ii  google-talkplugin 5.38.6.0-1   amd64Google Talk Plugin

Any other suggestions?

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/cabpbyafkgptz6ui+avedpdimna6jbmahvevhdkwb+dx-b1j...@mail.gmail.com



Re: Can't boot from pendrive

2015-01-24 Thread mrr

On 24/01/2015 16:10, Brian wrote:

On Sat 24 Jan 2015 at 15:26:19 +0100, mrr wrote:


On 24/01/2015 13:30, Rodolfo Medina wrote:

Hi all.

From:

  http://www.us.debian.org/CD/netinst/

I downloaded the file debian-7.8.0-i386-netinst.iso and copied it onto a
pendrive with:

  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync


If you create a /dev/sdc1 partition a launch the dd on it, does it work?


This cannot work because the boot sector of the drive would not be
written to.




So we have an answer as the OP finally installed the iso on sdb1!

> # fdisk -l debian-7.8.0-i386-netinst.iso
> You must set cylinders.
> You can do this from the extra functions menu.

What does that gives ?

--
mrr


--
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/54c3bb5f$0$2327$426a7...@news.free.fr



Re: Can't boot from pendrive

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 15:41:05 +, Rodolfo Medina wrote:

> Brian  writes:
> 
> > On Sat 24 Jan 2015 at 15:18:28 +, Rodolfo Medina wrote:
> >
> >> Brian  writes:
> >> 
> >> > On Sat 24 Jan 2015 at 12:26:02 +, Rodolfo Medina wrote:
> >> >
> >> >> From:
> >> >> 
> >> >>  http://www.us.debian.org/CD/netinst/
> >> >> 
> >> >> I downloaded the file debian-7.8.0-i386-netinst.iso and copied it onto a
> >> >> pendrive with:
> >> >> 
> >> >>  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync
> >> 
> >> That was actually `sdb1', not `sdc', sorry.
> >
> > That's not an ok command if you want the stick to be bootable. Try
> > /dev/sdb.
> 
> How do I restore the pendrive?  Now there's no space left, or permissions are
> denied.

No restoring is needed.

   dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdX bs=4M; sync

will obliterate the drive's contents.

Note it is /dev/sdX, not /dev/sdXN. Writing to partition number N will
not make the drive bootable.


-- 
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/24012015154956.e3a01d2be...@desktop.copernicus.demon.co.uk



Re: Can't boot from pendrive

2015-01-24 Thread Rodolfo Medina
Brian  writes:

> On Sat 24 Jan 2015 at 15:18:28 +, Rodolfo Medina wrote:
>
>> Brian  writes:
>> 
>> > On Sat 24 Jan 2015 at 12:26:02 +, Rodolfo Medina wrote:
>> >
>> >> From:
>> >> 
>> >>  http://www.us.debian.org/CD/netinst/
>> >> 
>> >> I downloaded the file debian-7.8.0-i386-netinst.iso and copied it onto a
>> >> pendrive with:
>> >> 
>> >>  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync
>> 
>> That was actually `sdb1', not `sdc', sorry.
>
> That's not an ok command if you want the stick to be bootable. Try
> /dev/sdb.

How do I restore the pendrive?  Now there's no space left, or permissions are
denied.

Rodolfo


-- 
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/87lhksuqy6@gmail.com



Re: HP 3050A is not printing anymore after debian update on jessie

2015-01-24 Thread Thomas
Am Samstag, 24. Januar 2015, 15:19:09 schrieb Brian:
> On Sat 24 Jan 2015 at 15:11:35 +0100, Thomas wrote:
> > after last debian update my printer is not printing anymore. scanner is
> > OK.
> > Anybody has an idea what to do?
> > I tried #aptitude reinstall   hplip hplip-data
> > printer-driver-postscript-hp
> > but didnt help.
> > Version is 8.0 jessie
> 
> You really want to increase the logging level with
> 
>cupsctl --debug-logging
> 
> and examine /var/log/cups/error_log after printing.

Hi, thanks, 

I tried but Its an problem with cupsd?


I stoped and started cups but nothink change, printing is still not working...

Jan 24 16:31:52  colord: Profile removed: HPDeskjet3050A-RGB..
Jan 24 16:31:52  colord: device removed: cups-HPDeskjet3050A
Jan 24 16:32:03  colord: Profile added: HPDeskjet3050A-Gray..
Jan 24 16:32:03  colord: Profile added: HPDeskjet3050A-RGB..
Jan 24 16:32:03  colord[701]: (colord:701): Cd-WARNING **: failed to get 
session [pid 3849]: Unbekannter Fehler -2
Jan 24 16:32:03  colord: Device added: cups-HPDeskjet3050A


best regards
Thomas



D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] [Client 14] 2.0 CUPS-Get-Printers 348
D [24/Jan/2015:16:27:06 +0100] CUPS-Get-Printers
D [24/Jan/2015:16:27:06 +0100] [Client 14] Returning IPP successful-ok for 
CUPS-Get-Printers (no URI) from localhost
D [24/Jan/2015:16:27:06 +0100] [Client 14] Content-Length: 1132
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] [Client 14] cupsdWriteClient error=0, used=0, 
state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, 
data_remaining=1132, response=0x7fd7470857d0(IPP_IDLE), pipe_pid=0, file=-1
D [24/Jan/2015:16:27:06 +0100] [Client 14] Writing IPP response, 
ipp_state=DATA, old wused=0, new wused=0
D [24/Jan/2015:16:27:06 +0100] [Client 14] bytes=0, http_state=0, 
data_remaining=0
D [24/Jan/2015:16:27:06 +0100] [Client 14] Waiting for request.
D [24/Jan/2015:16:27:06 +0100] cupsdSetBusyState: newbusy="Not busy", 
busy="Active clients"
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] [Client 14] POST / HTTP/1.1
D [24/Jan/2015:16:27:06 +0100] cupsdSetBusyState: newbusy="Active clients", 
busy="Not busy"
D [24/Jan/2015:16:27:06 +0100] [Client 14] No authentication data provided.
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] [Client 14] 2.0 CUPS-Get-Default 349
D [24/Jan/2015:16:27:06 +0100] CUPS-Get-Default
D [24/Jan/2015:16:27:06 +0100] CUPS-Get-Default client-error-not-found: Kein 
voreingestelltes Druckziel
D [24/Jan/2015:16:27:06 +0100] [Client 14] Returning IPP client-error-not-
found for CUPS-Get-Default (no URI) from localhost
D [24/Jan/2015:16:27:06 +0100] [Client 14] Content-Length: 125
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] [Client 14] cupsdWriteClient error=0, used=0, 
state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, 
data_remaining=125, response=0x7fd7470c9ed0(IPP_IDLE), pipe_pid=0, file=-1
D [24/Jan/2015:16:27:06 +0100] [Client 14] Writing IPP response, 
ipp_state=DATA, old wused=0, new wused=0
D [24/Jan/2015:16:27:06 +0100] [Client 14] bytes=0, http_state=0, 
data_remaining=0
D [24/Jan/2015:16:27:06 +0100] [Client 14] Waiting for request.
D [24/Jan/2015:16:27:06 +0100] cupsdSetBusyState: newbusy="Not busy", 
busy="Active clients"
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] [Client 14] POST / HTTP/1.1
D [24/Jan/2015:16:27:06 +0100] cupsdSetBusyState: newbusy="Active clients", 
busy="Not busy"
D [24/Jan/2015:16:27:06 +0100] [Client 14] No authentication data provided.
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] [Client 14] 2.0 CUPS-Get-Printers 350
D [24/Jan/2015:16:27:06 +0100] CUPS-Get-Printers
D [24/Jan/2015:16:27:06 +0100] [Client 14] Returning IPP successful-ok for 
CUPS-Get-Printers (no URI) from localhost
D [24/Jan/2015:16:27:06 +0100] [Client 14] Content-Length: 1132
D [24/Jan/2015:16:27:06 +0100] cupsd is not idle any more, canceling shutdown.
D [24/Jan/2015:16:27:06 +0100] [Client 14] cupsdWriteClient error=0, used=0, 
state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, 
data_remaining=1132, response=0x7fd7470857d0(IPP_IDLE), pipe_pid=0

Re: Can't boot from pendrive

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 15:18:28 +, Rodolfo Medina wrote:

> Brian  writes:
> 
> > On Sat 24 Jan 2015 at 12:26:02 +, Rodolfo Medina wrote:
> >
> >> From:
> >> 
> >>  http://www.us.debian.org/CD/netinst/
> >> 
> >> I downloaded the file debian-7.8.0-i386-netinst.iso and copied it onto a
> >> pendrive with:
> >> 
> >>  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync
> 
> That was actually `sdb1', not `sdc', sorry.

That's not an ok command if you want the stick to be bootable. Try
/dev/sdb.


-- 
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/24012015152131.099783b12...@desktop.copernicus.demon.co.uk



Re: HP 3050A is not printing anymore after debian update on jessie

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 15:11:35 +0100, Thomas wrote:

> after last debian update my printer is not printing anymore. scanner is OK.
> Anybody has an idea what to do?
> I tried #aptitude reinstall   hplip hplip-data printer-driver-postscript-hp
> but didnt help.
> Version is 8.0 jessie

You really want to increase the logging level with

   cupsctl --debug-logging

and examine /var/log/cups/error_log after printing.


-- 
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/24012015151503.e376e0bb5...@desktop.copernicus.demon.co.uk



Re: Can't boot from pendrive

2015-01-24 Thread Rodolfo Medina
Brian  writes:

> On Sat 24 Jan 2015 at 12:26:02 +, Rodolfo Medina wrote:
>
>> From:
>> 
>>  http://www.us.debian.org/CD/netinst/
>> 
>> I downloaded the file debian-7.8.0-i386-netinst.iso and copied it onto a
>> pendrive with:
>> 
>>  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync

That was actually `sdb1', not `sdc', sorry.


> That's an ok command.
>
>> , but then can't boot from it even though the BIOS is - apparently -
>> configured so to do that.  Why?
>
> Assuming the machine can boot from USB, check the BIOS settings again.
>
> On a running system, please post the outputs of
>
>fdisk -l debian-7.8.0-i386-netinst.iso
>
> and, after plugging in the pendrive,
>
>fdisk -l /dev/sdX
>
> You'll get "X" from dmesg.


Here is the output:

# fdisk -l debian-7.8.0-i386-netinst.iso 
You must set cylinders.
You can do this from the extra functions menu.

Disk debian-7.8.0-i386-netinst.iso: 0 MB, 0 bytes
64 heads, 32 sectors/track, 0 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x178e0fca

Device Boot  Start End  Blocks   Id  
System
debian-7.8.0-i386-netinst.iso1   *   1 277  283616   17  
Hidden HPFS/NTFS

# fdisk -l /dev/sdb1
You must set cylinders.
You can do this from the extra functions menu.

Disk /dev/sdb1: 0 MB, 0 bytes
64 heads, 32 sectors/track, 0 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x178e0fca

 Device Boot  Start End  Blocks   Id  System
/dev/sdb1p1   *   1 277  283616   17  Hidden HPFS/NTFS


-- 
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/87iofwcim3@gmail.com



Re: Can't boot from pendrive

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 15:26:19 +0100, mrr wrote:

> On 24/01/2015 13:30, Rodolfo Medina wrote:
> >Hi all.
> >
> >From:
> >
> >  http://www.us.debian.org/CD/netinst/
> >
> >I downloaded the file debian-7.8.0-i386-netinst.iso and copied it onto a
> >pendrive with:
> >
> >  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync
> 
> If you create a /dev/sdc1 partition a launch the dd on it, does it work?

This cannot work because the boot sector of the drive would not be
written to.


-- 
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/24012015150641.053412466...@desktop.copernicus.demon.co.uk



Re: squeeze lts

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 00:13:51 -0700, Glenn English wrote:

> I'm getting messages like this:
> 
> > W: Failed to fetch 
> > http://http.debian.net/debian/dists/squeeze/main/binary-amd64/Packages.gz  
> > Unable to connect to http.debian.net:http: [IP: 198.52.129.244 80]
> 
> Is there trouble at Squeeze LTS? I didn't see these right after LTS
> started.
> 
> I do get email from apticron from time to time about updates, so it's
> not completely dead. But I wonder what these mean, and if I might be
> missing some updates.

http://http.debian.net describes what the redirector does. In your case
it appears to have chosen a mirror which is not in a very healthy state;
try http://198.52.129.244 and see what you think.

When I've had this problem I've found that the redirector eventually
takes me somewhere which does work.


-- 
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/24012015145938.228fdb22d...@desktop.copernicus.demon.co.uk



Re: Can't boot from pendrive

2015-01-24 Thread mrr

On 24/01/2015 13:30, Rodolfo Medina wrote:

Hi all.

From:

  http://www.us.debian.org/CD/netinst/

I downloaded the file debian-7.8.0-i386-netinst.iso and copied it onto a
pendrive with:

  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync


If you create a /dev/sdc1 partition a launch the dd on it, does it work?



, but then can't boot from it even though the BIOS is - apparently - configured
so to do that.  Why?

Thanks for any help,

Rodolfo





--
--
mrr


--
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/54c3ab8b$0$2334$426a3...@news.free.fr



Re: Questions to live-build

2015-01-24 Thread mrr

On 24/01/2015 13:30, Hans wrote:

Hello list,

I am looking for some answers, the live-build I could not find in the live-
build documentation. I hope, someone very experienced can help me.

The situation:
I created a live-build structure and with "lb config" and "lb build" I can
build an ISO-image. That is working well.

Question 1:
I want to change the chroot. For this, I chroot into the chroot and now I can
do my changes I want to do (i.e. change configs or add packages whatever).

How can I build a new ISO-image without the process of cleaning the chroot and
avoid unpacking of all the packages again and again? Is "lb clean" necessary?
"lb build" is doing that every time!



If I understand, created files inside the chroot are keeped upon reboot 
but not installed packets ?
If so (seems weird though), cleaning the chroot would just be a matter 
of executing a "remove" script when going to runlevel 0 or 6 (or whatever!)
Keeping packets is more challenging. Could you mount your iso image on / 
so as to work on a physical partition rather than a ramfs?
But I guess it wouldn't be as simple as the iso dynamically loads a 
valid file system on boot (I think). You could see the situation with a

$ df /

What about changing completely the strategy i.e.:
- boot on the iso.
- installation of packets
(- purging of unwanted files)
- eventually installing a boot loader (the iso obviously has one but the 
working file-system may not). I'm not sure it would work so I would do 
that in a second time, and the first time you boot with the new iso, you 
may use an extern tool.

- copying the entire root tree on some other support.
- creating an iso with the file generated above.

The difficulty might be to copy a file-system which is in use.

But I'm sure not a "very experienced" one so other answers will give you 
some more valuable information, not double hypothesis of what your 
question really is and my answer.




Question 2:
During build I see tons of "lb" commands, started by "lb build". Is there an
explanation of all the "lb"-commands, so that it might be possible for me,
doing a step-by-step build, i.e. giving me the possibilty to restart at a
certain point, when something crashes?

At the moment, when I am building a live-system, and it crashes after several
hours because of a dmaged package or something else, I have to fix it, then
restart again and wait agian for hours. I hope, there is a better solution.



If building an iso works as I said above (or otherwise) you would have 
your backup and a new starting point but it would not prevent the crash!
Crashes are quite seldom on Linux (well, for sure on my wheezy at 
least!), anyway the best idea would be to find the cause and fix it.

Maybe there is a crash dump somewhere (that stays across reboots)?
Does it crashes on both distributions?
Does it crashes if you don't install anything (to test that, you would 
need time, at least twice the mean time between failures, maybe a night) ?




I am building mainly debian-live and kali-linux.

Thank you for every hints!

Best regards

Hans





Just ideas man, just ideas! As I said, I'm not a professional in that field!

--
mrr


--
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/54c3aae8$0$2334$426a3...@news.free.fr



Re: Question a-propos a USB modem

2015-01-24 Thread Hans
Am Samstag, 24. Januar 2015, 11:26:49 schrieb Renaud OLGIATI:
> When I plug in my USB modem, it is recogniz"ed and mounted on /dev/ttyACM0
> 
> Sadly, it is not accessible to the user as:
> root@ron # ls -l /dev/ttyA*
> crw-rw---T 1 root dialout 166, 0 Jan 24 11:23 /dev/ttyACM0
> 
> and I must chmod a+rw before users can use it.
> 
> Is there a way to make it mount crw-rw-rw-T without root intervention ?
> 
> Cheers,
> 
> Ron.
Hi Ron,

I believe (but I am not sure), the user, whos wants to use the modem, must be 
in group "dialout". Take a look at the rigts of the modem aka /dev/.

Best 

Hans




-- 
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/2816202.ImEMqZZ34g@protheus2



Question a-propos a USB modem

2015-01-24 Thread Ron
When I plug in my USB modem, it is recogniz"ed and mounted on /dev/ttyACM0

Sadly, it is not accessible to the user as:
root@ron # ls -l /dev/ttyA*
crw-rw---T 1 root dialout 166, 0 Jan 24 11:23 /dev/ttyACM0

and I must chmod a+rw before users can use it.

Is there a way to make it mount crw-rw-rw-T without root intervention ?
 
Cheers,
 
Ron.
-- 
   Il est dangereux d'avoir raison dans des choses
   où des hommes accrédités ont tort. 
   -- Voltaire

   -- http://www.olgiati-in-paraguay.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/20150124112649.247cc...@ron.cerrocora.org



HP 3050A is not printing anymore after debian update on jessie

2015-01-24 Thread Thomas
Hi,

after last debian update my printer is not printing anymore. scanner is OK.
Anybody has an idea what to do?
I tried #aptitude reinstall   hplip hplip-data printer-driver-postscript-hp
but didnt help.
Version is 8.0 jessie
Thanks

Jan 24 14:50:52  kernel: [  548.064032] usb 2-3: new high-speed USB device 
number 2 using ehci-pci
Jan 24 14:50:52  kernel: [  548.196884] usb 2-3: New USB device found, 
idVendor=03f0, idProduct=a011
Jan 24 14:50:52  kernel: [  548.196889] usb 2-3: New USB device strings: 
Mfr=1, Product=2, SerialNumber=3
Jan 24 14:50:52  kernel: [  548.196893] usb 2-3: Product: Deskjet 3050A J611 
series
Jan 24 14:50:52  kernel: [  548.196896] usb 2-3: Manufacturer: HP
Jan 24 14:50:52  kernel: [  548.196899] usb 2-3: SerialNumber: J
Jan 24 14:50:52  logger: loading HP Device 002 002
Jan 24 14:50:53  kernel: [  549.189474] WARNING! power/level is deprecated; 
use power/control instead
Jan 24 14:50:53  colord: Device added: sysfs-HP-Deskjet_3050A_J611_series
Jan 24 14:50:53  colord-sane: io/hpmud/musb.c 2075: Invalid usb_open: 
Permission denied
Jan 24 14:50:53  kernel: [  549.254271] usblp 2-3:1.1: usblp0: USB 
Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0xA011
Jan 24 14:50:53  kernel: [  549.254303] usbcore: registered new interface 
driver usblp
Jan 24 14:54:13  kernel: [  749.283735] perf interrupt took too long (2506 > 
2500), lowering kernel.perf_event_max_sample_rate to 5





-- 
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/16731875.EpI4XFE1xj@tmprod1



Re: Can't boot from pendrive

2015-01-24 Thread Siard
Rodolfo Medina wrote:
> From:
> 
>  http://www.us.debian.org/CD/netinst/
> 
> I downloaded the file debian-7.8.0-i386-netinst.iso and copied it
> onto a pendrive with:
> 
>  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync
> 
> , but then can't boot from it even though the BIOS is - apparently -
> configured so to do that.  Why?

Some computers contain buggy BIOS versions. Booting from pendrive did
not work on my previous 32-bit PC either, even though the BIOS was set
to do so. Fortunately, it does on my new 64-bit PC.

If it does not work in your PC (did booting from pendrive _ever_ work
with it?), then there are still a couple of other options you can try,
as described here (section 3.6.2, last two paragraphs):
www.debian.org/releases/stable/i386/ch03s06.html.en#boot-dev-select


-- 
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/20150124144427.23d3b766.shiems...@kpnplanet.nl



Re: Can't boot from pendrive

2015-01-24 Thread Brian
On Sat 24 Jan 2015 at 12:26:02 +, Rodolfo Medina wrote:

> From:
> 
>  http://www.us.debian.org/CD/netinst/
> 
> I downloaded the file debian-7.8.0-i386-netinst.iso and copied it onto a
> pendrive with:
> 
>  $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync

That's an ok command.

> , but then can't boot from it even though the BIOS is - apparently - 
> configured
> so to do that.  Why?

Assuming the machine can boot from USB, check the BIOS settings again.

On a running system, please post the outputs of

   fdisk -l debian-7.8.0-i386-netinst.iso

and, after plugging in the pendrive,

   fdisk -l /dev/sdX

You'll get "X" from dmesg.


-- 
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/24012015131212.bf27112c3...@desktop.copernicus.demon.co.uk



Questions to live-build

2015-01-24 Thread Hans
Hello list,

I am looking for some answers, the live-build I could not find in the live-
build documentation. I hope, someone very experienced can help me.

The situation:
I created a live-build structure and with "lb config" and "lb build" I can 
build an ISO-image. That is working well.

Question 1:
I want to change the chroot. For this, I chroot into the chroot and now I can 
do my changes I want to do (i.e. change configs or add packages whatever).

How can I build a new ISO-image without the process of cleaning the chroot and 
avoid unpacking of all the packages again and again? Is "lb clean" necessary? 
"lb build" is doing that every time!


Question 2:
During build I see tons of "lb" commands, started by "lb build". Is there an 
explanation of all the "lb"-commands, so that it might be possible for me, 
doing a step-by-step build, i.e. giving me the possibilty to restart at a 
certain point, when something crashes?

At the moment, when I am building a live-system, and it crashes after several 
hours because of a dmaged package or something else, I have to fix it, then 
restart again and wait agian for hours. I hope, there is a better solution.


I am building mainly debian-live and kali-linux.

Thank you for every hints!

Best regards

Hans



-- 
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/2129629.fFie7LNnfs@protheus2



Can't boot from pendrive

2015-01-24 Thread Rodolfo Medina
Hi all.

From:

 http://www.us.debian.org/CD/netinst/

I downloaded the file debian-7.8.0-i386-netinst.iso and copied it onto a
pendrive with:

 $ dd if=debian-7.8.0-i386-netinst.iso of=/dev/sdc bs=4M; sync

, but then can't boot from it even though the BIOS is - apparently - configured
so to do that.  Why?

Thanks for any help,

Rodolfo


-- 
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/87sif01i1x@gmail.com



Re: So much for a wheezy install, massive fail

2015-01-24 Thread Lisi Reisz
On Saturday 24 January 2015 02:17:30 Gene Heskett wrote:
> On Friday 23 January 2015 15:41:06 Ric Moore did opine
>
> And Gene did reply:
> > On 01/23/2015 03:09 PM, Dom wrote:
> > > On 23/01/15 19:21, Joe wrote:
> > >> On Fri, 23 Jan 2015 16:08:56 -0300
> > >>
> > >> Renaud (Ron) OLGIATI  wrote:
> > >>> On Fri, 23 Jan 2015 18:46:04 +
> > >>>
> > >>> Lisi Reisz  wrote:
[snip]

Might I suggest that we put this to bed?  It has long been OT.

Lisi


-- 
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/201501240946.53761.lisi.re...@gmail.com



Re: Minimal configuration for a laptop

2015-01-24 Thread Selim T . Erdoğan
On Fri, Jan 23, 2015 at 05:54:17PM -0800, Patrick Bartek wrote:
> On Fri, 23 Jan 2015, Selim T. Erdoğan wrote:
> 
> > I also got a second-hand Thinkpad last month, a T400, and I love it
> > too. I think it's from 2009 or 2010.
> > 
> > Mine has an Intel core 2 duo CPU (P8400  @ 2.26GHz) and 4GB ram, but
> > a slightly slower CPU and 2GB of ram would also be fine for web
> > browsing and office stuff.  However, I don't know how much memory
> > freemind or other electronic design software uses, so I would
> > recommend getting 4GB if you can.  (The T400 is upgradable to 8GB.
> > You might want to check the maximum memory capacity on laptops you're
> > considering.)
> > 
> > (BTW, for office and the web, even 1GB might work but it may be a 
> > little tight.  Myolder laptop had 1GB ram and it didn't run out of 
> > memory often --- only when I had very many tabs open --- but the 
> > single-core Amd athlon xp 2200 @ 1.6GHz was slow.  It was from 2004.)

I agree with your comments below, about the desktop environment affecting
how much ram is needed.  I should have mentioned that what I wrote above
was based on using MATE.

> How much RAM is sufficient depends more on the desktop GUI.  For GNOME
> and KDE, I recommend 4GB at least.  The system I'm using now has gone
> through multiple upgrades (hardware and OSes) since I built it in 2007
> with a 2.0GHZ 64-bit single-core AMD CPU & 2 GB RAM running Fedora 6,
> first 32-bit, then 64, and GNOME2.  Even with just a browser, file
> manager, and a few applets running, it could be sluggish at times,
> particularly when accessing the menus. Upgrading to 4GB RAM solved all
> that.
> 
> However, if using XFCE or LXDE or just a window manager, 1 or 2 GB RAM
> would be fine.


-- 
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/20150124090559.GA6271@side