Re: changing sound parameter on startup

2012-05-26 Thread Volkan YAZICI
/etc/rc.local?

On Sat, 26 May 2012 13:40:01 -0700, Ross Boylan writes:
 Simple version: what's the best way to get the effect of 
 echo 1024  /proc/asound/card0/pcm0p/sub0/prealloc
 every time I start, preferably before KDE starts?

 I've seen indications I should put something in rcS.d/, but also some
 things saying stuff there gets executed at every run level change.
 Also, I'm not sure where in the sequence it needs to be.

 Longer version: The underlying issue is that I've been having problems
 with sound under mythtv.  Hardware:
 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition
 Audio Controller (rev 01) on a Pentium 4.

 When myth starts it was complaining that I had a buffer too small and
 that its attempts to reset it with the above command failed.  After
 disabling sound on KDE I was able to resize the buffer.  I'm still
 having sound problems, though I think not quite as frequently as before.

 One solution would be to resolve the permission problem.

 There are a lot of things I can think of that might be relevant to
 either the permission issue or the buffer size issue: udev, module
 parameters (e.g., /etc/modutils.d/), sysctl.conf (but I think that's
 only for /proc/sysfs), maybe some other alsa-specific place.

 So I'd appreciate any guidance you can offer.

 Thanks.
 Ross Boylan


-- 
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/87ehq64q74@alamut.ozun.int



Performance of Linux IP Aliased Network Interfaces

2012-05-11 Thread Volkan YAZICI
Hi!

I put together a setup to measure the performance of IP aliasing
in Linux. (See related blog post[1].) The problem is, observed
throughput increases as the number of aliases increase. Despite
this problem does not specifically related with Debian, I hope to
find some answers here. Any helps will be really appreciated.


Best.

[1] 
http://vyazici.blogspot.com/2012/05/performance-of-linux-ip-aliased-network.html


-- 
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/87fwb6yc3n@alamut.ozun.int



Re: wget --post-data issue

2012-01-21 Thread Volkan YAZICI
On Sat, 21 Jan 2012 18:10:12 +0530, J. Bakshi writes:
 I have a form which have 2 input field Roll number and comments ; using 
 formfind command I get the following

 ```
 --- FORM report. Uses POST to URL index.php
 Input: NAME=go VALUE=1 (HIDDEN)
 Input: NAME=roll_no VALUE=10 (TEXT)
 Textarea: NAME=message
 Button: Submit (SUBMIT)
 --- end of FORM
 --- FORM report. Uses GET to URL form name=copy
 Button: Copy to clipboard (BUTTON)
 Textarea: NAME=txt
 --- end of FORM

 

 The roll number always have 10 as default, and there is a text-area to input 
 comment. How can I use wget with --post-data option to send the values ?
 And how can I use wget for [ Button: Submit ] ?

Use curl instead:

  $ curl -v -d go=1 -d roll_no=10 -d message=foo bar baz -d submit=1 index.php


-- 
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/87pqeddwyk@alamut.ozun.int



Re: UCARP Behind NAT

2011-11-15 Thread Volkan YAZICI
Why not asking it directly to the UCARP author (Frank DENIS) via email?
(See http://ucarp.org for details.)

On Mon, 14 Nov 2011 11:36:41 -0500, Chris Snyder writes:
 Any ideas where a good place to ask for help on this topic is? Is
 there a UCARP mailing list? I realize it might be a little specific
 for this list.


-- 
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/87mxbxhkxi@alamut.ozun.int



Re: /proc/acpi/video

2011-10-30 Thread Volkan YAZICI
On Sat, 29 Oct 2011 20:31:03 + (UTC), Camaleón writes:
 What's the output of ls -l /sys/class/backlight?

 If I follow the instructions of the section named The /sys/class/
 backlight interface I can indeed see and set the backlight values as 
 stated. For instance, to put the backlight at its maximum value, as root 
 I can run:

 echo 10  /sys/class/backlight/acpi_video0/brightness

My configurations are as follows.

--8---cut here---start-8---
$ ls -l /sys/class/backlight/
total 0
lrwxrwxrwx 1 root root 0 Oct 29 21:48 acpi_video0 - 
../../devices/pci:00/:00:01.0/:01:00.0/backlight/acpi_video0/

$ ls -l /sys/class/backlight/acpi_video0/
total 0
-r--r--r-- 1 root root 4096 Oct 29 21:48 actual_brightness
-rw-r--r-- 1 root root 4096 Oct 30 17:32 bl_power
-rw-r--r-- 1 root root 4096 Oct 30 17:32 brightness
lrwxrwxrwx 1 root root0 Oct 30 17:32 device - ../../../:01:00.0/
-r--r--r-- 1 root root 4096 Oct 30 17:32 max_brightness
drwxr-xr-x 2 root root0 Oct 30 17:32 power/
lrwxrwxrwx 1 root root0 Oct 29 21:48 subsystem - 
../../../../../../class/backlight/
-r--r--r-- 1 root root 4096 Oct 30 17:32 type
-rw-r--r-- 1 root root 4096 Oct 29 21:48 uevent

$ cat /sys/class/backlight/acpi_video0/brightness
7

$ cat /sys/class/backlight/acpi_video0/max_brightness
7
--8---cut here---end---8---

First, I tried to alter the brightness:

--8---cut here---start-8---
$ echo 1 | sudo tee /sys/class/backlight/acpi_video0/brightness
1

$ cat /sys/class/backlight/acpi_video0/brightness
1
--8---cut here---end---8---

Nothing happens.

--8---cut here---start-8---
$ echo 1 | sudo tee /sys/class/backlight/acpi_video0/actual_brightness
tee: /sys/class/backlight/acpi_video0/actual_brightness: Permission denied
1
--8---cut here---end---8---

Still nothing happens.


--
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/87hb2qbibi@alamut.ozun.int



/proc/acpi/video

2011-10-29 Thread Volkan YAZICI
Hello,

I'm using a custom built vanilla Linux kernel of version 3.0.0. Despite
I loaded every available ACPI related module, I still cannot see any
video folder under /proc/acpi directory, hence I cannot alter display
brigthness, etc. Any ideas? What might I be missing?


Best.


-- 
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/87d3dgyrhs@alamut.ozun.int



Re: /proc/acpi/video

2011-10-29 Thread Volkan YAZICI
On Sat, 29 Oct 2011 15:01:12 + (UTC), Camaleón writes:
 I'm running a Debian stock kernel (3.0.0-1) and neither have that entry 
 under /proc/acpi but can control the brigthness of my netbook either 
 from GNOME or using the hotkeys.

 Maybe this Ubuntu debug guide for backlight can give you any hints:

 https://wiki.ubuntu.com/Kernel/Debugging/Backlight

 Specifically this statement:

 ***
 The /proc/acpi/video interface

 Warning /!\ This actually is deprecated and would also only be working if 
 the ACPI backlight driver is active. It will be described only for 
 completeness. The ACPI backlight driver also exposes itself through the 
 new sysfs interface. 
 ***

Hrm... Nice article. Here are my evaluations:

1) I first tried to disable ACPI brightness switch. No matter what I
   give as kernel parameter, e.g.,

 acpi.brightness_switch_enabled=0
 acpi_backlight=vendor
 acpi_backlight=video

   /sys/module/video/parameters/brightness_switch_enabled is always set
   to Y. Moreover, actually nothing changes with above 3 parameters, as
   far as I observe.

3) When I set acpi to off, everything works fine.

 Besides, review your kernel config, just in case:

 grep -i -e backlight -e acpi /boot/config-3*

$ grep -i -e backlight -e acpi /boot/config-3.0.0 | grep -v ^#
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_PCI_SLOT=m
CONFIG_ACPI_CONTAINER=m
CONFIG_ACPI_SBS=m
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_POWERNOW_K7_ACPI=y
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y
CONFIG_FB_BACKLIGHT=y
CONFIG_FB_NVIDIA_BACKLIGHT=y
CONFIG_FB_RADEON_BACKLIGHT=y
CONFIG_FB_ATY128_BACKLIGHT=y
CONFIG_FB_ATY_BACKLIGHT=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_PROGEAR=m
CONFIG_LEDS_TRIGGER_BACKLIGHT=m
CONFIG_DRM_NOUVEAU_BACKLIGHT=y
CONFIG_THINKPAD_ACPI=m
CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
CONFIG_THINKPAD_ACPI_VIDEO=y
CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
CONFIG_ACPI_WMI=m
CONFIG_ACPI_ASUS=m
CONFIG_ACPI_TOSHIBA=m

Any other ideas? What else should I debug?


Best.


--
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/87hb2r63lg@alamut.ozun.int



Re: Observing IP Conflicts

2011-10-28 Thread Volkan YAZICI
On Thu, 27 Oct 2011 21:46:51 -0500, green writes:
 I have not used it, but you might want to look at the vrrpd package.

Interesting... I didn't know that. Thanks.


-- 
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/87lis4zvfn@alamut.ozun.int



Re: Observing IP Conflicts

2011-10-28 Thread Volkan YAZICI
On Fri, 28 Oct 2011 13:36:51 +0100, Raf Czlonka writes:
 Or ucarp. I guess keepalived has been mentioned already and since
 you're not running a cluster it might be an overkill.

Really good stuff! I didn't know them. Thanks!


-- 
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/87hb2szves@alamut.ozun.int



Observing IP Conflicts

2011-10-27 Thread Volkan YAZICI
Hi,

I have two servers A and B, where both knows the IP address of itself
and the other. Assume A goes down (that is, A is not reachable via
ping), then B temporarily takes the IP address of A via IP aliasing. Now
the problem is, when A wakes up, I want B to get alerted by this event.
Any ideas?


Best.


-- 
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/877h3qqrr8@alamut.ozun.int



Re: Observing IP Conflicts

2011-10-27 Thread Volkan YAZICI
Nevermind. See apt-file search ipwatchd.

On Thu, 27 Oct 2011 20:16:43 +0300, Volkan YAZICI writes:
 I have two servers A and B, where both knows the IP address of itself
 and the other. Assume A goes down (that is, A is not reachable via
 ping), then B temporarily takes the IP address of A via IP aliasing. Now
 the problem is, when A wakes up, I want B to get alerted by this event.
 Any ideas?


-- 
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/87zkgmpcsz@alamut.ozun.int



Re: emacs rmail: how to save sent messages

2011-10-03 Thread Volkan YAZICI
On Mon, 3 Oct 2011 03:14:48 +0400, Роман Новиков writes:
 trying to adjust emacs rmail. almost everything is great, but cannot
 understand how to tell emacs to save all the sent messages into file i
 want (~/mail/sent for example). does anybody know - what to do?

I don't know its equivalent in rmail, but in gnus I just use a hook to
add Gcc: nnml:sent header to every mail I write. (Related gnus
variable is `gnus-message-archive-group'. Maybe rmail configuration is
something similar.)


Best.


--
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/87sjnaboh5@alamut.ozun.int



Re: emacs rmail: how to save sent messages

2011-10-03 Thread Volkan YAZICI
On Mon, 3 Oct 2011 03:14:48 +0400, Роман Новиков writes:
 trying to adjust emacs rmail. almost everything is great, but cannot
 understand how to tell emacs to save all the sent messages into file i
 want (~/mail/sent for example). does anybody know - what to do?

I don't know its equivalent in rmail, but in gnus I just use a hook to
add Gcc: nnml:sent header to every mail I write.


Best.


--
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/87ty7qboir@alamut.ozun.int



Re: emacs rmail: how to save sent messages

2011-10-03 Thread Volkan YAZICI
Googling for emacs rmail archive sent mail returned me this[1] and
this[2]. Both apply the same approach.

[1] http://astronomy.sussex.ac.uk/~sjo/idl_help/.emacs
[2] 
http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/6e5d738dd9c0c5c7

On Mon, 3 Oct 2011 11:52:46 +0400, Роман Новиков writes:
 does anybody knows what about rmail? C-h ? v did not get any related results (
 Karl Vogel suggested to send all the mails to the sent account, but it is 
 crutch, may be we find mo correct way ;)

 3 октября 2011 г. 10:04 пользователь Volkan YAZICI yazic...@ttmail.com 
 написал:

 On Mon, 3 Oct 2011 03:14:48 +0400, Роман Новиков writes:
  trying to adjust emacs rmail. almost everything is great, but cannot
  understand how to tell emacs to save all the sent messages into file i
  want (~/mail/sent for example). does anybody know - what to do?

 I don't know its equivalent in rmail, but in gnus I just use a hook to
 add Gcc: nnml:sent header to every mail I write. (Related gnus
 variable is `gnus-message-archive-group'. Maybe rmail configuration is
 something similar.)


--
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/87lit2bj8z@alamut.ozun.int



Re: setting up a static IP address

2011-08-15 Thread Volkan YAZICI
On Mon, 15 Aug 2011 11:49:24 + (UTC), Steve Kleene writes:
   auto lo
   iface lo inet loopback

   # The primary network interface
   allow-hotplug eth0
   iface eth0 inet static
   address 10.97.14.253
   netmask 255.255.255.0
   gateway 10.97.14.1

   auto eth0

 Connectivity is fine except that it's not at the assigned static IP (as
 judged by ifconfig -a).

You sure ifconfig eth0 still doesn't return 10.97.14.253? Did you
restart the networking service? That is, invoke-rc.d networking restart?


-- 
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/87ty9ihooh@alamut.ozun.int



Re: Wireless problem with Thinkpad X220

2011-08-12 Thread Volkan YAZICI
On Thu, 11 Aug 2011 23:05:26 -0500, Kumar Appaiah writes:
 I've been trying to help a friend out with wireless on his Thinkpad
 X220. The identifier is:

 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 
 802.11b/g/n WiFi Adapter (rev 01)

 Now, according to http://wiki.debian.org/rtl819x the drivers should
 work for the kernel (2.6.39 bpo.2). However, while wlan0 is displayed,
 he is unable to configure his network, and dmesg output says this:

 [ 2069.228798] rtl8192ce :03:00.0: PCI INT A disabled
 [ 2085.887165] ieee80211_crypt: unregistered algorithm 'WEP'
 [ 2085.887174] ieee80211_crypt: unregistered algorithm 'CCMP'
 [ 2085.887181] ieee80211_crypt: unregistered algorithm 'TKIP'
 [ 2085.887187] ieee80211_crypt: unregistered algorithm 'NULL' (deinit)
 [ 2143.973876] ieee80211_crypt: registered algorithm 'NULL'
 [ 2143.973885] ieee80211_crypt: registered algorithm 'TKIP'
 [ 2143.973892] ieee80211_crypt: registered algorithm 'CCMP'
 [ 2143.973898] ieee80211_crypt: registered algorithm 'WEP'
 [ 2143.973921] 
 [ 2143.973923] Linux kernel driver for RTL8192 based WLAN cards
 [ 2143.973929] Copyright (c) 2007-2008, Realsil Wlan
 [ 2326.698887] ieee80211_crypt: unregistered algorithm 'WEP'
 [ 2326.698897] ieee80211_crypt: unregistered algorithm 'CCMP'
 [ 2326.698904] ieee80211_crypt: unregistered algorithm 'TKIP'
 [ 2326.698910] ieee80211_crypt: unregistered algorithm 'NULL' (deinit)
 [ 2343.256604] rtl8192ce :03:00.0: PCI INT A - GSI 17 (level, low) - 
 IRQ 17
 [ 2343.256624] rtl8192ce :03:00.0: setting latency timer to 64
 [ 2343.266633] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
 [ 2343.267260] rtlwifi: wireless switch is off   

 In spite of having switched the WiFi on, Network Manager doesn't see anything.

 iwlist scanning gives:
 Failed to read scan data : Network is down

 Also, rfkill showed:
 2: phy0: Wireless LAN
 Soft blocked: yes
 Hard blocked: no

 An rfkill unblock removed the soft block, but that still did nothing.

 I've run out of debugging ideas, and am looking for suggestions. Could
 you let me know how I should go about this?

1. Turn every service (wicd, network-manager, rf stuff, etc.) that is
   associated with wifi off.

2. Does iwlist wlan0 scan still return nothing?


-- 
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/87wreij12l@alamut.ozun.int



Re: ad-hoc wifi - network unreachable

2011-08-07 Thread Volkan YAZICI
On Sat, 06 Aug 2011 15:29:04 -0400, Robert Blair Mason Jr. writes:
 1.  Why do I have to call iwconfig twice?

Because wicd overwrites it somehow?

 2.  Is wicd at fault in this case?  If so, should I file a bug report?

If you can do it manually and wicd cannot by default, then, yes, you
should, IMHO.


-- 
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/8762m8ebbs@alamut.ozun.int



Re: Recovering from MKFS

2011-08-04 Thread Volkan YAZICI
On Thu, 04 Aug 2011 11:59:22 -0400, Ethan Rosenberg writes:
 I ran mkfs -L on an external usb drive, hoping to change it's name, which it
 did.  It, of course, rewrote the inode tables, which I did not realize that it
 would, and I cannot find my files on the disk.  Is there any way to recover 
 the
 files?

Steps I would follow goes here:

1. Create a copy of the entire USB disk image. Don't play unnecessarily
   with the original hardware and remember that every mount operation
   will potentially decrease your recovery chance. (Since mount's are
   not totally read-only.)

   root# dd if=/dev/sdb1 of=/root/sdb1.img.org
   root# cp /root/sdb1.img.org /root/sdb1.img

2. Grab TestDisk[1] and start playing with the copied disk image.

I had a similar problem to yours and TestDisk worked flawlessly.


Best.

[1] http://www.cgsecurity.org/wiki/TestDisk


-- 
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/87k4ase86i@alamut.ozun.int



Re: sudden wireless problem

2011-08-01 Thread Volkan YAZICI
On Sun, 31 Jul 2011 19:13:50 -0700 (PDT), Steven Sciame writes:
 steven@debtop:~$ su
 Password: 
 debtop:/home/steven# lspci -vnn |grep BCM4306
 02:06.0 Network controller [0280]: Broadcom Corporation BCM4306 802.11b/g 
 Wireless LAN Controller [14e4:4320] (rev 03)
 debtop:/home/steven# ls /etc/init.d/network-manager 
 /etc/init.d/network-manager
 debtop:/home/steven# /etc/init.d/network-manager stop
 Stopping network connection manager: NetworkManager.
 debtop:/home/steven# ifdown wlan0
 ifdown: interface wlan0 not configured
 debtop:/home/steven# ifconfig wlan0 up
 debtop:/home/steven# iwlist wlan0 scan
 wlan0 No scan results

 debtop:/home/steven#

[I'm assuming wifi lock is turned off while following above steps.]
Hrm... Looking at you lspci -vnn output, here[1] it tells that you
should be using b43. Fine. BTW, how did you install b43 and related
firmwares? Which steps did you follow? Did you try manually installing a
vanilla kernel with related modules turned on and required firmwares
downloaded?


Best.

[1] http://linuxwireless.org/en/users/Devices/PCI


--
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/87y5zdwrdg@alamut.ozun.int



Re: (almost solved) Re: [Feedback needed] brcmsmac wifi driver in testing

2011-08-01 Thread Volkan YAZICI
On Sun, 31 Jul 2011 14:53:03 + (UTC), Camaleón writes:
 Tried with both (-D nl80211 and reduced conf file) but I get the same ;-
 (

 ***
 Trying to associate with 00:26:44:df:60:91 (SSID='WLAN_6D' freq=2452 MHz)
 Authentication with 00:26:44:df:60:91 timed out.
 ***

 It cannot even associate with the AP, this cannot be normal. 

 Okay, let's make a brute-force test. I've removed the power cord of the 
 netbook and walked next to the AP, et voilà, now it associates fine...  
 go figure :-o

I really liked your attitude! Go Camaleón!

 Now at least I know all of the settings are fine and driver works, just 
 will have to dig a bit why on the earth it cannot associate with the AP 
 that on the next room...

 (5 minutes later...)

 Grrr! If I unplug the power cord it also connects fine from the original 
 place! WTF!! I'm afraid I have another thing that requires investigation.

Hrm... It seems to be the case that power cord produces a significant
amount of thermal noise that is propagated as interference to the WiFi
operating at wlan0. BTW, did you say wlan0 was working in the past?

 Well, thanks you both, Volkan and Brian, for hanging there. I will post 
 further findings I'll discover to make the connection stable but at least 
 now I have a place to start :-)

BTW, there appears to be a significant problem with your wifi channel
selection. That is,

1. There are actually 3 useable channels in the wifi spectrum: 1, 6, 11.
   (Yep, regulations changes from country to country, but...) By
   operating at 9th channel, you will be interfering with signals in
   both 6th and 11th channels. Hence, prefer either 1, 6, or 11.

2. If you want a higher range, prefer lower channels. That is, 1st
   channel will reach further distances compared to 11.


Best.


--
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/87tya1wqx6@alamut.ozun.int



Re: sudden wireless problem

2011-08-01 Thread Volkan YAZICI
On Mon, 1 Aug 2011 00:10:51 +1000 (EST), Andrew McGlashan writes:
 I've seen this problem on some hardware.

 The best thing to try is to shutdown the machine fully and remove all
 power source, then try to restart it -- if wireless isn't functional and
 you have multi-boot available, try to re-enable the device in the other
 OS.

 It seems that some flag gets set in the hardware and it needs to be
 reset to function normally.

+1


-- 
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/87mxftwqv8@alamut.ozun.int



Re: sudden wireless problem

2011-07-31 Thread Volkan YAZICI
What does this output:

--8---cut here---start-8---
# lspci -vnn | grep BCM4306
# /etc/init.d/NetworkManager stop# Stop nm.
# ifdown wlan0   # For any case.
# ifconfig wlan0 up  # Take wlan0 up.
# iwlist wlan0 scan  # Scan APs.
--8---cut here---end---8---

On Sun, 31 Jul 2011 04:49:38 -0700 (PDT), Steven Sciame writes:
 Last night my wireless suddenly stopped working.  The only thing I did
 differently from any other night that I can think of is close the lid while 
 the
 computer was trying to Hibernate.  Ten minutes later I realized I needed to 
 send
 one more email so I tried to wake the computer up and suddenly my wireless
 wasn't working.  On the network manager no wireless networks were displayed (I
 live in a highrise and there are usually many listed so I know that it is not
 just a problem with my wireless router which was the first thing that I
 thought).

 I am using a Compaq Presario 2210us.  I right clicked on the network manager,
 unchecked the enable wireless, then rechecked.  The led on my network card 
 would
 respond (turn off, then back on), but that didn't help.  I then did the same
 thing with enable networking.

 I then did:  ifconfig wlan0 down, then back up again.  I even tried to 
 reinstall b43 from http://wiki.debian.org/bcm43xx  but that did not seem to 
 fix anything.

 A few months ago I needed to make a Vanilla kernel (2.6.38) for another issue
 that has since been fixed so I don't use it anymore (I now use the one that is
 with Squeeze 2.6.32).  I decided to select that 2.6.38 upon startup just to 
 see
 if that would help and something interesting happened:  When clicking on the
 network manager the, Enable wireless was greyed out. 

 Here is some output after restarting again this morning with the 2.6.32 
 Squeeze kernel:

 steven@debtop:~$ dmesg | tail -25
 [    9.533637] loop: module loaded
 [   11.556603] fuse init (API version 7.13)
 [   12.845751] input: ACPI Virtual Keyboard Device as 
 /devices/virtual/input/input7
 [   14.557229] eth0: link down
 [   14.557323] ADDRCONF(NETDEV_UP): eth0: link is not ready
 [   14.584065] b43 ssb0:0: firmware: requesting b43/ucode5.fw
 [   14.618394] b43 ssb0:0: firmware: requesting b43/pcm5.fw
 [   14.626731] b43 ssb0:0: firmware: requesting b43/b0g0initvals5.fw
 [   14.636424] b43 ssb0:0: firmware: requesting b43/b0g0bsinitvals5.fw
 [   14.772058] b43-phy0: Loading firmware version 410.2160 (2007-05-26 
 15:32:10)
 [   14.828984] ADDRCONF(NETDEV_UP): wlan0: link is not ready
 [   16.518143] apm: BIOS not found.
 [   18.273121] Bluetooth: Core ver 2.15
 [   18.273211] NET: Registered protocol family 31
 [   18.273214] Bluetooth: HCI device and connection manager initialized
 [   18.273218] Bluetooth: HCI socket layer initialized
 [   18.809841] Bluetooth: L2CAP ver 2.14
 [   18.809846] Bluetooth: L2CAP socket layer initialized
 [   19.229135] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
 [   19.229141] Bluetooth: BNEP filters: protocol multicast
 [   19.740665] Bridge firewalling registered
 [   19.903792] Bluetooth: SCO (Voice Link) ver 0.6
 [   19.903797] Bluetooth: SCO socket layer initialized
 [   20.454349] lp: driver loaded but no devices found
 [   20.483194] ppdev: user-space parallel port driver
 steven@debtop:~$ su
 Password: 
 debtop:/home/steven# ifconfig wlan0 down
 debtop:/home/steven# ifconfig wlan0 up
 debtop:/home/steven# lsmod | grep b43
 b43   132411  0 
 mac80211  122866  1 b43
 cfg80211   86977  2 b43,mac80211
 led_class   1757  1 b43
 rng_core    2178  1 b43
 ssb    33578  1 b43
 mmc_core   38277  2 b43,ssb
 pcmcia 16194  2 b43,ssb
 pcmcia_core    20414  5 b43,yenta_socket,rsrc_nonstatic,ssb,pcmcia
 debtop:/home/steven# exit
 steven@debtop:~$ lspci | grep -i wireless
 02:06.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless 
 LAN Controller (rev 03)
 steven@debtop:~$ 


--
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/87aabuy7n7@alamut.ozun.int



Re: [Feedback needed] brcmsmac wifi driver in testing

2011-07-31 Thread Volkan YAZICI
On Sun, 31 Jul 2011 12:02:02 + (UTC), Camaleón writes:
 In testing I have 2.6.39-2686-pae
 [...]

 Good idea. Done...

 /etc/wpa_supplicant/wpa_supplicant.conf

 # WPA-PSK/TKIP

 ctrl_interface=/var/run/wpa_supplicant

 network={
 ssid=WLAN_6D
 key_mgmt=WPA-PSK
 proto=WPA
 pairwise=TKIP
 group=TKIP
 psk=my_pass
 }

 But when I try to connect, both of my wifi cards fail:

 wlan0 → broadcom 4313+brcmsmac 

 root@stt300:/var/run/wpa_supplicant# wpa_supplicant -c 
 /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0
 ioctl[SIOCSIWENCODEEXT]: Invalid argument
 ioctl[SIOCSIWENCODEEXT]: Invalid argument
 Trying to associate with 00:26:44:df:60:91 (SSID='WLAN_6D' freq=2452 MHz)
 Authentication with 00:26:44:df:60:91 timed out.
 Trying to associate with 00:26:44:df:60:91 (SSID='WLAN_6D' freq=2452 MHz)
 Authentication with 00:26:44:df:60:91 timed out.
 Trying to associate with 00:26:44:df:60:91 (SSID='WLAN_6D' freq=2452 MHz)

 wlan2 →  ralink+rt2870 (note that this card can connect to the AP using NM)

 root@stt300:/var/run/wpa_supplicant# wpa_supplicant -c 
 /etc/wpa_supplicant/wpa_supplicant.conf -i wlan2
 ioctl[SIOCSIWENCODEEXT]: Invalid argument
 ioctl[SIOCSIWENCODEEXT]: Invalid argument
 Trying to associate with 00:26:44:df:60:91 (SSID='WLAN_6D' freq=2452 MHz)
 Associated with 00:26:44:df:60:91
 CTRL-EVENT-DISCONNECTED bssid=00:26:44:df:60:91 reason=0

You say that wlan2 doesn't work manually, but with nm. Did I get it
right? If so, that's pretty strange.

Oh, and I forgot to say in the previous mail: Turn everything fiddling
with the wifi interfaces off, that is, nm, hostapd, etc., before trying
any manual method.

 Now check the wpa_supplicant debug outputs. Moreover, if you can see a
 valid mac addr in the Access Point field of the iwconfig wlan0
 output, Wi-Fi assoc is ok and you're struggling with the encryption
 part.

 iwconfig shows no MAC on both cards :-/

Here are my other 2cents.

- Are you able to connect to an AP, where encryption is turned off?
  (Hence, no wpa needed.) Again, try this manually. That is,

--8---cut here---start-8---
# ifconfig wlan0 up
# iwconfig wlan0 essid ESSID chan CHANNEL ap MACADDR
# iwconfig wlan0
# dhclient wlan0
--8---cut here---end---8---

  What does last iwconfig wlan0 output?

- Did you try updating the firmware files?


Best.


--
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/8739hmy6xg@alamut.ozun.int



Re: [Feedback needed] brcmsmac wifi driver in testing

2011-07-30 Thread Volkan YAZICI
On Mon, 25 Jul 2011 16:46:56 + (UTC), Camaleón writes:
 Our cell phone provider has given us a netbook that embeds a broadcom 
 4313 wifi chipset¹.

 This card seems to be supported by the new -and open source- brcmsmac 
 driver² (still in a staging development) but I am having problems to 
 associate it with my AP.

 All seems going fine (wlan0 interface is created and NM sees the AP) but 
 I only get authentication with [ap-mac] timed out in dmesg and nothing 
 more. Other USB cards I have tested (based on rt73 and rt2xxx chipsets) 
 are working okay so I guess the AP is not the problem here but the driver.

 I wonder if someone is currently using this driver and what are his/her 
 experiences.

 ¹http://wiki.debian.org/brcm80211
 ²http://linuxwireless.org/en/users/Drivers/brcm80211

I'm using brcmsmac since 1 year without a problem.

--8---cut here---start-8---
$ lspci -vnn | grep Broadcom -A 5
02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n 
Wireless LAN Controller [14e4:4727] (rev 01)
Subsystem: Askey Computer Corp. Device [144f:7179]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f380 (64-bit, non-prefetchable) [size=16K]
Capabilities: access denied
Kernel driver in use: brcmsmac

$ lsmod | grep -E brcm
brcmsmac  485123  0
mac80211  152890  1 brcmsmac
cfg80211   98676  2 brcmsmac,mac80211

$ uname -r
2.6.39.3-vy.20110710
--8---cut here---end---8---


BTW, if I were you, instead of relying on nm, I'd manually try to
connect to the AP. That is,

--8---cut here---start-8---
# ifconfig wlan0 up
# emacs /etc/wpa_supplicant/wpa_supplicant.conf
# wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0
--8---cut here---end---8---

Now check the wpa_supplicant debug outputs. Moreover, if you can see a
valid mac addr in the Access Point field of the iwconfig wlan0
output, Wi-Fi assoc is ok and you're struggling with the encryption
part.


Best.


--
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/878vrfzjlq@alamut.ozun.int



Re: LaTeX to HTML converters and comments.

2011-07-25 Thread Volkan YAZICI
On Fri, 22 Jul 2011 09:19:47 -0800, peasth...@shaw.ca writes:
 tth converts LaTeX to HTML nicely but strips the comments.
 The manual remarks % Comments. Simply removed.  Can anyone 
 suggest a converter which encloses each comment in !--  --?

Did you check tex2page[1]. For instance, Scheme specs[2] are rendered
with tex2page.


Best.

[1] http://evalwhen.com/tex2page/index.html
[2] http://www.r6rs.org/final/html/r6rs/r6rs.html


-- 
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/8762mqldcn@alamut.ozun.int



Re: Multiple Network Gateways

2011-07-18 Thread Volkan YAZICI
[Before going with the rest of the reply, I'd like to thank who (lee,
William Hopkins, Johannes Obermueller, Bonno Bloksma, Andrew McGlashan,
Camaleón) sincerely answered to my question.]

On Fri, 15 Jul 2011 23:31:05 +0200, Bonno Bloksma writes:
 In here you have some duplicate information that is not needed. In the eth0
 section the netmask 255.255.255.240 together with the ip-address of 
 10.10.98.100
 automaticaly defines the network and broadcast address you give in the next
 lines. You can leave them out.

They are added by the Debian installer, not me. But yep, you are right.

 A gateway statement means: send ANYTHING for which there is no specific route 
 in
 the routing table to this address which can be reached via this interface. 
 There
 is usualy just one gateway statement in the entire interfaces file unless one
 wants to do multiple gateway routing, which is usualy done with the more
 flexible and sophosticate ip statement.

 So the gateway statement in the eth1 section is what causes the problem. You 
 do
 NOT want the gateway statement there as that is NOT the address to send all
 unspecified traffic to, that is what you want the eth0 interface to use the
 10.10.98.110 address for.

 The address and netmask statement together define which network is behind the
 eth1 interface and which traffic should be send to the network behind that
 interface. In this case that will automaticaly be all trafic for
 192.168.100.0/24, that is all trafic for 192.168.100.*

So you mean that, via a configuration as follows

--8---cut here---start-8---
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
  address 10.10.98.100
  netmask 255.255.255.240
  gateway 10.10.98.110
  dns-nameservers 10.10.10.11 10.10.10.12
  dns-search ozun.int

auto eth1
iface eth1 inet static
  address 192.168.100.100
  netmask 255.255.255.0
--8---cut here---end---8---

all of my 192.168.100.0/24 traffic will be routed through eth1. But the
thing I don't understand here is that: Say I typed ping 192.168.100.1.
How will it know that it will need to use 192.168.100.98 as a gateway to
192.168.100.1?

 You also have some dns lines in that interfaces file. As far as I know that is
 not alowed and those lines should be in the /etc/resolv.conf file.

Yep, /etc/resolv.conf solves the issue in a static manner, but the dns-*
parameters I used in interfaces(8) are provided by the resolvconf
package.


Best.


--
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/87d3h82e3c@alamut.ozun.int



Multiple Network Gateways

2011-07-15 Thread Volkan YAZICI
Hi,

I would like to setup a simple network detailed in the below schema.

--8---cut here---start-8---

   ,===.   eth0   ,---.
  || internet  || - | reyiz |
   `==='10.10.98.100  `---'
 ^
eth1 | 192.168.100.100
 |
 |
 |
  ,---.   eth3   |
  | pampa | +
  `---^   192.168.100.98


reyiz# cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.10.98.100
netmask 255.255.255.240
network 10.10.98.96
broadcast 10.10.98.111
gateway 10.10.98.110
dns-nameservers 10.10.10.11 10.10.10.12
dns-search ozun.int

auto eth1
iface eth1 inet static
address 192.168.100.100
netmask 255.255.255.0
gateway 192.168.100.98


reyiz# ifconfig
eth0  Link encap:Ethernet  HWaddr 1c:6f:65:aa:78:8f
  inet addr:10.10.98.100  Bcast:10.10.98.111  Mask:255.255.255.240
  inet6 addr: fe80::1e6f:65ff:feaa:788f/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:143 errors:0 dropped:0 overruns:0 frame:0
  TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:15294 (14.9 KiB)  TX bytes:13676 (13.3 KiB)
  Interrupt:28 Base address:0xc000

eth1  Link encap:Ethernet  HWaddr 54:e6:fc:80:ca:a9
  inet addr:192.168.100.100  Bcast:192.168.100.255  Mask:255.255.255.0
  inet6 addr: fe80::56e6:fcff:fe80:caa9/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:4 errors:0 dropped:0 overruns:0 frame:0
  TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:240 (240.0 B)  TX bytes:3942 (3.8 KiB)
  Interrupt:19 Base address:0x4000

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:5 errors:0 dropped:0 overruns:0 frame:0
  TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:336 (336.0 B)  TX bytes:336 (336.0 B)


reyiz# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
10.10.98.96 0.0.0.0 255.255.255.240 U 0  00 eth0
192.168.100.0   0.0.0.0 255.255.255.0   U 0  00 eth1
0.0.0.0 192.168.100.98  0.0.0.0 UG0  00 eth1
0.0.0.0 10.10.98.1100.0.0.0 UG0  00 eth0

--8---cut here---end---8---

The problem here is that there exists two entries in the routing table
for 0.0.0.0 network pointing to both eth0 and eth1. But I just want to
have 192.168.100.0 network requests to be handled by eth1, the rest
should be redirected to eth0. That is, the desired routing table is as
follows.

--8---cut here---start-8---
Destination Gateway Genmask Flags Metric RefUse Iface
10.10.98.96 0.0.0.0 255.255.255.240 U 0  00 eth0
192.168.100.0   192.168.100.98  255.255.255.0   U 0  00 eth1
0.0.0.0 10.10.98.1100.0.0.0 UG0  00 eth0
--8---cut here---end---8---

How should I configure /etc/network/interfaces to have such a routing
scheme?

Moreover, I tried to create such a routing scheme manually. First, I
removed the eth1 entries:

--8---cut here---start-8---
reyiz# route del -net 192.168.100.0 netmask 255.255.255.0 dev eth1
reyiz# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
10.10.98.96 0.0.0.0 255.255.255.240 U 0  00 eth0
0.0.0.0 10.10.98.1100.0.0.0 UG0  00 eth0
--8---cut here---end---8---

So far, so good. But I couldn't add a new routing entry for eth1. That
is,

--8---cut here---start-8---
reyiz# route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.100.98
SIOCADDRT: No such process
--8---cut here---end---8---

I will be really appreciated for any help.


Best.


-- 
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/87y5zzsnp7@alamut.ozun.int



Re: Multiple Network Gateways

2011-07-15 Thread Volkan YAZICI
On Fri, 15 Jul 2011 15:58:10 +0200, lee writes:
 Volkan YAZICI yazic...@ttmail.com writes:

,===.   eth0   ,---.
   || internet  || - | reyiz |
`==='10.10.98.100  `---'
  ^
 eth1 | 192.168.100.100
  |
  |
  |
   ,---.   eth3   |
   | pampa | +
   `---^   192.168.100.98

 [...]

 So there are a lot of hosts not shown on the scheme?

Yep, and pampa will be the gateway to 192.168.100.0 network for reyiz.

 reyiz# route -n
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse Iface
 10.10.98.96 0.0.0.0 255.255.255.240 U 0  00 eth0
 192.168.100.0   0.0.0.0 255.255.255.0   U 0  00 eth1
 0.0.0.0 192.168.100.98  0.0.0.0 UG0  00 eth1
 0.0.0.0 10.10.98.1100.0.0.0 UG0  00 eth0

 The problem here is that there exists two entries in the routing table
 for 0.0.0.0 network pointing to both eth0 and eth1. But I just want to
 have 192.168.100.0 network requests to be handled by eth1, the rest
 should be redirected to eth0.

 There are no 0.0.0.0 networks, only 192.168.100.0 and 10.10.98.96.  Try
 'route' instead of 'route -n' ...

I intentionally used -n, I know there are no 0.0.0.0 networks. But it
still doesn't answer to my question that how can I make just
192.168.100.0 requests get routed through 192.168.100.98 gw machine.


Best.


-- 
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/87ei1rskqh@alamut.ozun.int



/etc/kbd/remap

2011-07-11 Thread Volkan YAZICI
Hi!

Default contents of the /etc/kbd/remap file provided by kbd package
is as follows.

--8---cut here---start-8---
# This sed script is run across the dumpkeys output to remap keys on the console

# This turns caps lock into control
#s/keycode  58 = Caps_Lock/keycode  58 = Control/;
--8---cut here---end---8---

But uncommenting the last line doesn't have any effect. Even replacing
it with below line doesn't work as well.

--8---cut here---start-8---
s/keycode 58 = Caps_Lock/keycode 58 = Control/;
--8---cut here---end---8---

To further investigate the problem, I checked the last modification time
of /etc/console-setup/cached.kmap.gz, but it was far from current time.
(dpkg-reconfigure console-setup didn't make a difference.) In other
words, remap doesn't have any effect on cached.kmap.gz contents.

Finally, I edited cached.kmap.gz manually and yep, this time it worked.

Does anybody experience the same behaviour? What might I be missing?
Should I submit a bug report?


Best.


-- 
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/87tyasy92a@alamut.ozun.int



Re: broadcom

2011-06-12 Thread Volkan YAZICI
IMHO, you have two options:

1. Solve the issue by fixing the drivers supplied by the distribution.
   (As others have explained in the previous replies.)

2. Use new brcm80211[1] drivers. For this purpose, I'd make a custom
   kernel package (see make-kpkg) using the latest stable kernel
   sources, which bundle brcm80211 by default.


Best.

[1] http://linuxwireless.org/en/users/Drivers/brcm80211

On Sat, 11 Jun 2011 15:32:00 +0200, steef writes:
 bought my self a hp mini-netbook, included windoze7 and a very strong accu, 10
 hours of life.

 i put sid on an usb-stick, included fluxbox and wicd(-curses).

 wifi = (lspci) brcm4313. (type 5.60.350.6)

 loaded/installed the according the debian broadcom-  (broadcom 43xx wireless
 drivers)  -wiki convenient driver_firmware. the driver should be included in 
 the
 sid_kernel, so i understood. however: this wifi_driver does not work.

 my questions: what did i do wrong if anything (1) ?

 and

 broadcom assued a so-called xxx-STA driver (by google) somebody with some
 experience with this brcm4313 driver for linux (tar.gz) does this one work for
 my mini_netbook (2) ?

 if i find a working driver i can get rid of w7.


-- 
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/87ei2zul8w@alamut.ozu.edu.tr



Re: generating graphs

2011-06-10 Thread Volkan YAZICI
On Sat, 11 Jun 2011 03:31:03 +0200, Maros Zilka writes:
 I want to generate a graphs of CPU usage, temperatures etc ... and then
 put them on the web page. Can you recommend me some good program for
 this ? I know i can use Google or search packages but i want to know
 your opinion what is the best.

There are Cacti and Munin as well. I prefer Munin for its simplicity and
it is relatively easy to add custom measurements to it. BTW, both of
them use rrdtool in the background for the plots and publish the graphs
on a web page, this might come handy for you.


Best.


-- 
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/87wrgt9e4l@alamut.ozu.edu.tr



Re: Ad-Hoc Wi-Fi Network Setup

2011-05-30 Thread Volkan YAZICI
On Mon, 30 May 2011 03:13:16 -0400, William Hopkins writes:
 On 05/27/11 at 08:03pm, Volkan YAZICI wrote:
 On Fri, 27 May 2011 16:56:39 + (UTC), Camaleón writes:
  ifdown/ifup and maybe /etc/init.d/networking restart just to be 
  sure :-)
 
 My /etc/network/interfaces is empty, but loopback device. I'm just
 issuing plain old ifconfig, and IMHO it should be working. I need to
 find a way to get more details about the problem, about why it doesn't
 work.

 I agree. It's best to start with ifconfig/iwconfig anyway.
 When you set 'foo' to ad-hoc, can you scan from 'bar' and see it?

Below are the latest diagnostics.

1) I configure 1st machine as follows.

 # iwconfig wlan0 mode ad-hoc chan 1 essid foo
 # ifconfig wlan0 192.168.1.1

   dmesg | tail tells me that it just has created a new ad-hoc
   network:

 wlan0: Trigger new scan to find an IBSS to join
 wlan0: Trigger new scan to find an IBSS to join
 wlan0: Trigger new scan to find an IBSS to join
 wlan0: Creating new IBSS network, BSSID 02:21:1a:46:0f:1a
 wlan0: no IPv6 routers present

2) Let's see if everything is set right on the 1st machine.

 # ifconfig wlan0
 wlan0 Link encap:Ethernet  HWaddr 94:0c:6d:ea:b5:a4
   inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
   inet6 addr: fe80::960c:6dff:feea:b5a4/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:0 (0.0 B)  TX bytes:32705 (32.7 KB)
 
 # iwconfig wlan0
 wlan0 IEEE 802.11bgn  ESSID:foo
   Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 02:21:1A:46:0F:1A
   Tx-Power=20 dBm
   Retry  long limit:7   RTS thr:off   Fragment thr:off
   Encryption key:off
   Power Management:on
 
 # iwlist wlan0 scan | grep -C 5 foo
 Cell 30 - Address: 02:21:1A:46:0F:1A
   Channel:1
   Frequency:2.412 GHz (Channel 1)
   Quality=70/70  Signal level=0 dBm
   Encryption key:off
   ESSID:foo
   Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
 9 Mb/s; 12 Mb/s; 18 Mb/s
   Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
   Mode:Ad-Hoc
   Extra:tsf=

3) Ok, now let's configure the 2nd machine.

 # iwconfig wlan0 mode ad-hoc chan 1 essid foo

   It should directly get connected to 02:21:1A:46:0F:1A cell. Let's
   check that.

 # iwconfig wlan0
 wlan0 IEEE 802.11bgn  ESSID:foo
   Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 02:21:1A:46:0F:1A
   Tx-Power=20 dBm
   Retry  long limit:7   RTS thr:off   Fragment thr:off
   Encryption key:off
   Power Management:on

   Cool. Let's assign an IP as well.

 # ifconfig wlan0 192.168.1.1
 # ifconfig wlan0
 wlan0 Link encap:Ethernet  HWaddr 94:0c:6d:ea:c2:4b
   inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
   BROADCAST MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:158 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:0 (0.0 B)  TX bytes:25560 (25.5 KB)

   Can we really see the remote ad-hoc network?

 # iwlist wlan0 scan | grep -C 5 foo
 Cell 26 - Address: 02:21:1A:46:0F:1A
   Channel:1
   Frequency:2.412 GHz (Channel 1)
   Quality=70/70  Signal level=-19 dBm
   Encryption key:off
   ESSID:foo
   Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
 9 Mb/s; 12 Mb/s; 18 Mb/s
   Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
   Mode:Ad-Hoc
   Extra:tsf=164ef18e

4) Ok, now here comes the problem. I can neither ping 192.168.1.1 from
   192.168.1.2, nor ping 192.168.1.2 from 192.168.1.1.

I'll be really appreciated if somebody could repeat above steps and tell
me whether it works or not.


Best.


--
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/878vtotq5k@alamut.ozu.edu.tr



Re: mini pic express WLAN card which support AP mode

2011-05-30 Thread Volkan YAZICI
On Mon, 30 May 2011 22:18:16 -0700, writes:
 Any recommendations for cards that are known to work with the current
 stable distribution in master mode, i.e. as an access point ?

I *highly* recommend Atheros WiFi cards. (Particularly, 5000 and 9000
series.) Master mode, ad-hoc mode, etc. all is supported perfectly.


Best.


-- 
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/87oc2jsah1@alamut.ozu.edu.tr



Ad-Hoc Wi-Fi Network Setup

2011-05-27 Thread Volkan YAZICI
Hi,

I'm trying to setup an ad-hoc Wi-Fi network, but having trouble to get
it working. Below are the steps I follow.

  foo# iwconfig wlan0 mode ad-hoc chan 11 essid inci
  foo# ifconfig wlan0 192.168.1.1

  bar# iwconfig wlan0 mode ad-hoc chan 11 essid inci
  bar# ifconfig wlan0 192.168.1.2
  bar# ping 192.168.1.1 -I wlan0

But ping fails miserably. What might I be missing? (See the detailed
command outputs in the attachment.)


Best.



foo# lspci | grep Atheros
07:04.0 Network controller: Atheros Communications Inc. AR922X Wireless Network 
Adapter (rev 01)

foo# iwconfig wlan0 mode ad-hoc chan 11 essid inci
foo# iwconfig wlan0
wlan0 IEEE 802.11bgn  ESSID:inci
  Mode:Ad-Hoc  Frequency:2.462 GHz  Cell: E6:65:50:32:B9:13
  Tx-Power=20 dBm
  Retry  long limit:7   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:on

foo# ifconfig wlan0 192.168.1.1
foo# ifconfig wlan0
wlan0 Link encap:Ethernet  HWaddr 94:0c:6d:ea:c2:4b
  inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::960c:6dff:feea:c24b/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:9688 (9.6 KB)

bar# lspci | grep Atheros
07:04.0 Network controller: Atheros Communications Inc. AR922X Wireless Network 
Adapter (rev 01)

bar# iwconfig wlan0 mode ad-hoc chan 11 essid inci
bar# iwconfig wlan0
wlan0 IEEE 802.11bgn  ESSID:inci
  Mode:Ad-Hoc  Frequency:2.462 GHz  Cell: Not-Associated
  Tx-Power=20 dBm
  Retry  long limit:7   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:on

bar# ifconfig wlan0 192.168.1.2
bar# ifconfig wlan0
wlan0 Link encap:Ethernet  HWaddr 94:0c:6d:ea:b5:a4
  inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
  BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:4434 (4.4 KB)




-- 
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/8739k0b3u3@alamut.ozu.edu.tr



Re: Ad-Hoc Wi-Fi Network Setup

2011-05-27 Thread Volkan YAZICI
On Fri, 27 May 2011 15:49:39 + (UTC), Camaleón writes:
 On Fri, 27 May 2011 17:44:36 +0300, Volkan YAZICI wrote:

 I'm trying to setup an ad-hoc Wi-Fi network, but having trouble to get
 it working. Below are the steps I follow.
 
   foo# iwconfig wlan0 mode ad-hoc chan 11 essid inci 
   foo# ifconfig wlan0 192.168.1.1
 
   bar# iwconfig wlan0 mode ad-hoc chan 11 essid inci 
   bar# ifconfig wlan0 192.168.1.2
   bar# ping 192.168.1.1 -I wlan0
 
 But ping fails miserably. What might I be missing? (See the detailed
 command outputs in the attachment.)

 (...)

 Just in case, I would follow these steps:

 http://wiki.debian.org/WiFi/AdHoc#Manual_Method

As far as I checked, they are exactly the same steps.


Best.


--
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/87vcww9kzh@alamut.ozu.edu.tr



Re: Ad-Hoc Wi-Fi Network Setup

2011-05-27 Thread Volkan YAZICI
On Fri, 27 May 2011 16:40:48 + (UTC), Camaleón writes:
 It can be trivial but did you also restart the wlan0 interfaces?

While I was issuing iwconfig commands, wlan0 was already set down; after
iwconfig I waked up the wlan0 via ifconfig. What do you mean by
restarting an interface?


Best.


--
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/87oc2o9jdc@alamut.ozu.edu.tr



Re: Ad-Hoc Wi-Fi Network Setup

2011-05-27 Thread Volkan YAZICI
On Fri, 27 May 2011 16:56:39 + (UTC), Camaleón writes:
 ifdown/ifup and maybe /etc/init.d/networking restart just to be 
 sure :-)

My /etc/network/interfaces is empty, but loopback device. I'm just
issuing plain old ifconfig, and IMHO it should be working. I need to
find a way to get more details about the problem, about why it doesn't
work.


Best.


--
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/87hb8g9iuv@alamut.ozu.edu.tr



Re: new wifi configuration

2011-05-10 Thread Volkan YAZICI
On Tue, 10 May 2011 20:38:42 +0200, roberto writes:
 hello, i've been using this manual configuration for my wireless card
 till now (2 years):

 wpa_supplicant -c /etc/wpa_supplicant.conf -i eth1 -B

 ifconfig eth1 ip_address
 route add default gw ip_address eth1

Instead of above two lines, type dhclient eth1.

 where /etc/wpa_supplicant.conf is as follows:
 network={
 ssid=name
 scan_ssid=1
 key_mgmt=WPA-PSK
 psk=password
 }


 and it worked fine.

 Now i have a new wireless router with dhcp.
 Can you tell me how i have to change that configuration ?


-- 
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/87mxiuv153@alamut.ozu.edu.tr



Re: How to debug microphone?

2011-04-24 Thread Volkan YAZICI
On Sun, 24 Apr 2011 09:40:49 +0200, Felix Natter writes:
 I'd like to use my microphone, but when I use gnome-sound-recorder, and
 - select Record from input: Front Mic it doesn't record anything.
 - select Record from input: Line In and attach a headset to the 3.5mm
   mic input (Laptop) it doesn't record anything.

 Audio play works fine in all applications.

 I am running Debian Lenny. How can I debug this?

The steps I would recommend are as follows.

1) Make sure with alsamixer that mics are not muted.

2) Start arecord with vumeter enabled, that is,

 arecord -V /tmp/foo.wav

   and see if vumeter changes.

3) On failure, go to (1).


Best.


-- 
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/87hb9o5bky@alamut.ozu.edu.tr



Re: wireless-next / wireless-testing

2011-03-25 Thread Volkan YAZICI
wext module is a little bit outdated -- AFAIK, no new features were
introduced since years, just maintanance and bug fixes. I'd recommend
sticking with mac80211 family of modules, which are planned to replace
wext and are under active development.

On Fri, 25 Mar 2011 10:05:27 +0100, Mathieu Malaterre writes:
 Did anyone ever compiled a custom debian kernel module based on
 wireless-next/wireless-testing ? I would like to try out a new driver
 for my machine but do not know how to start.


-- 
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/87hbarxtjw@alamut.ozu.edu.tr



Disable Evince Toolbar Permanently

2011-03-11 Thread Volkan YAZICI
Hi,

Is it possible to disable the toolbar in Evince permanently?


Regards.


-- 
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/87y64lwnw6@alamut.ozu.edu.tr



Re: Disable Evince Toolbar Permanently

2011-03-11 Thread Volkan YAZICI
On Fri, 11 Mar 2011 20:36:49 +0100, Claudius Hubig writes:
 Volkan YAZICI yazic...@ttmail.com wrote:
Is it possible to disable the toolbar in Evince permanently?

 works for me permanently (i. e. after a restart of Evince).

Strange, it doesn't for me. Which WM/Desktop do you use? (BTW, which
Debian version?)


Best.


-- 
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/87pqpxwfgo@alamut.ozu.edu.tr



Re: What is the most secure FTP server?

2011-03-10 Thread Volkan YAZICI
On Thu, 10 Mar 2011 09:56:32 -0600, Jason Hsu writes:
 I understand that regular FTP has inferior security due to the lack of
 encryption. So I'm looking for an alternative to use on my home
 server.

 What is your favorite alternative and why? Implicit FTPS? SFTP? FTP
 over SSH? Or something else?

vsftpd is just rocking, but if I were you, I'd stick with OpenSSH. I'd
create an sftp group for just FTP users, and jail SSH connections
coming from users in sftp group into their home directory. (See
here[1] for details.)


Regards.

[1] 
http://www.techrepublic.com/blog/opensource/chroot-users-with-openssh-an-easier-way-to-confine-users-to-their-home-directories/229


-- 
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/871v2e6hp1@alamut.ozu.edu.tr



Re: html to image

2011-03-10 Thread Volkan YAZICI
You might want to check here: http://packages.debian.org/search?keywords=html2ps

  $ apt-cache show html2ps
  Package: html2ps
  Priority: optional
  Section: text
  Installed-Size: 260
  Maintainer: Debian QA Group packa...@qa.debian.org
  Architecture: all
  Version: 1.0b5-5
  Depends: perl, perlmagick, libwww-perl, libhtml-parser-perl, libpaper-utils
  Recommends: gs-gpl
  Suggests: postscript-viewer, texlive-base, weblint-perl, xhtml2ps
  Filename: pool/main/h/html2ps/html2ps_1.0b5-5_all.deb
  Size: 104880
  MD5sum: a928636e0c5af5b1c0db81588e91b4cd
  SHA1: ff484424dc184761ee113941010a7a3e1c6d5081
  SHA256: 4f37f0b533fb7160044dad8b5e91043b58a09b56ebc17bc8a1ba9b1810d2b8e6
  Description: HTML to PostScript converter
   This program converts HTML directly to PostScript. The HTML code can be
   retrieved from one or more URLs or local files, specified as parameters on 
the
   command line. A comprehensive level of HTML is supported, including inline
   images, CSS 1.0, and some features of HTML 4.0.
  Homepage: http://www.tdb.uu.se/~jan/html2ps.html
  Tag: interface::commandline, role::program, scope::utility, use::converting, 
works-with::text, works-with-format::html, works-with-format::postscript

On Thu, 10 Mar 2011 21:31:12 +0200, Atıf CEYLAN writes:
 Thanks for your answer but I did search as html2 in all packages.
 unfortunately I did not found any utility program :(

 On Wed, 09 Mar 2011 14:16:02 +0200, Volkan YAZICI yazic...@ttmail.com wrote:
 On Wed, 09 Mar 2011 12:08:42 +0200, Atıf CEYLAN writes:
 I need to a console based html to image converter application. I
 found
 the html2png2 application but it need to X.

 That is not something trivial. Consider the different outputs of
 different web browser rendering engines, e.g., Gecko, KHTML, IE, etc.
 OTOH, you can start by looking at apt-file search html2 results.
 (For
 instance, I just saw html2ps, and which also need ps2png, which is
 provided by tth package.)


--
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/8762rq22a2@alamut.ozu.edu.tr



Re: html to image

2011-03-10 Thread Volkan YAZICI
You surely can:

$ apt-file search ps2png | grep /usr/bin
tth: /usr/bin/ps2pn

On Thu, 10 Mar 2011 21:50:51 +0200, Atıf CEYLAN writes:
 I know the package but can I convert to image from ps format?

 On 03/10/2011 09:39 PM, Volkan YAZICI wrote:

 You might want to check here: 
 http://packages.debian.org/search?keywords=html2ps
 
   $ apt-cache show html2ps
   Package: html2ps
   Priority: optional
   Section: text
   Installed-Size: 260
   Maintainer: Debian QA Group packa...@qa.debian.org
   Architecture: all
   Version: 1.0b5-5
   Depends: perl, perlmagick, libwww-perl, libhtml-parser-perl, 
 libpaper-utils
   Recommends: gs-gpl
   Suggests: postscript-viewer, texlive-base, weblint-perl, xhtml2ps
   Filename: pool/main/h/html2ps/html2ps_1.0b5-5_all.deb
   Size: 104880
   MD5sum: a928636e0c5af5b1c0db81588e91b4cd
   SHA1: ff484424dc184761ee113941010a7a3e1c6d5081
   SHA256: 4f37f0b533fb7160044dad8b5e91043b58a09b56ebc17bc8a1ba9b1810d2b8e6
   Description: HTML to PostScript converter
This program converts HTML directly to PostScript. The HTML code can be
retrieved from one or more URLs or local files, specified as 
 parameters on the
command line. A comprehensive level of HTML is supported, including 
 inline
images, CSS 1.0, and some features of HTML 4.0.
   Homepage: http://www.tdb.uu.se/~jan/html2ps.html
   Tag: interface::commandline, role::program, scope::utility, 
 use::converting, works-with::text, works-with-format::html, 
 works-with-format::postscript
 
 On Thu, 10 Mar 2011 21:31:12 +0200, Atıf CEYLAN writes:

 Thanks for your answer but I did search as html2 in all packages.
 unfortunately I did not found any utility program :(
 
 On Wed, 09 Mar 2011 14:16:02 +0200, Volkan YAZICI 
 yazic...@ttmail.com wrote:

 On Wed, 09 Mar 2011 12:08:42 +0200, Atıf CEYLAN writes:

 I need to a console based html to image converter 
 application. I
 found
 the html2png2 application but it need to X.

 That is not something trivial. Consider the different outputs of
 different web browser rendering engines, e.g., Gecko, KHTML, IE, 
 etc.
 OTOH, you can start by looking at apt-file search html2 results.
 (For
 instance, I just saw html2ps, and which also need ps2png, which is
 provided by tth package.)

 --
 /**
 * @author Atıf CEYLAN
 * Software Developer  System Admin
 * http://www.atifceylan.com
 */


--
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/87vczqzqgw@alamut.ozu.edu.tr



Re: html to image

2011-03-09 Thread Volkan YAZICI
On Wed, 09 Mar 2011 12:08:42 +0200, Atıf CEYLAN writes:
 I need to a console based html to image converter application. I found
 the html2png2 application but it need to X.

That is not something trivial. Consider the different outputs of
different web browser rendering engines, e.g., Gecko, KHTML, IE, etc.
OTOH, you can start by looking at apt-file search html2 results. (For
instance, I just saw html2ps, and which also need ps2png, which is
provided by tth package.)


Regards.


--
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/878vwomqv1@alamut.ozu.edu.tr



Re: synaptics problem

2011-03-08 Thread Volkan YAZICI
On Tue, 08 Mar 2011 11:49:19 +0200, Atıf CEYLAN writes:
 I have a packard bell LM98 laptop. I get TouchPad no synaptics event
 device found (II) UnloadModule: synaptics  message in the kernel
 log. xserver-xorg-input-synaptics package is installed and my laptop
 have synaptics touchpad hardware.

 What should I do?

I would first check if my touchpad is found by the kernel. That is,

  $ egrep -i 'synap|alps|etps' /proc/bus/input/devices

Did you check the SynapticsTouchpad wiki[1]. I'm not an expert on
synaptics, but you might find that page helpful.


Regards.

[1] http://wiki.debian.org/SynapticsTouchpad


--
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/87ei6hnc9w@alamut.ozu.edu.tr



Re: /USR/SBIN/CRON[20837]: (CRON) error (grandchild #20839 failed with exit status 1)

2011-02-21 Thread Volkan YAZICI
Hi,

You might try 1) increasing the logging verbosity of cron via
uncommenting EXTRA_OPTS=-L 2 line in /etc/default/cron, and 2) taking
a look at /var/spool/cron directory contents.


Best.

On Mon, 21 Feb 2011 13:15:49 +1100, Robert S writes:
 I'm getting these in my syslog:

 Feb 21 06:05:01 debian /USR/SBIN/CRON[17713]: (CRON) error (grandchild
 #17716 failed with exit status 1)
 Feb 21 07:05:01 debian /USR/SBIN/CRON[17855]: (CRON) error (grandchild
 #17858 failed with exit status 1)
 Feb 21 08:05:01 debian /USR/SBIN/CRON[18084]: (CRON) error (grandchild
 #18087 failed with exit status 1)
 Feb 21 09:05:01 debian /USR/SBIN/CRON[18501]: (CRON) error (grandchild
 #18503 failed with exit status 1)
 Feb 21 10:05:01 debian /USR/SBIN/CRON[20837]: (CRON) error (grandchild
 #20839 failed with exit status 1)

 AFAICS I don't have any cron jobs running at 1 minute past the hour -
 in /etc/crontab, /etc/cron.d/* or /etc/cron.hourly.  I tried clearing
 out all hourly scripts but I still get this message.

 What is happening here?


-- 
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/87k4gtv3wb@alamut.ozu.edu.tr



Re: no audio in microphone

2011-02-03 Thread Volkan YAZICI
First, try recording with arecord -V. (-V param will provide you a
VU-meter.) Second, play with the mic settings in alsamixer interface.

On Thu, 03 Feb 2011 14:42:29 -0500, Paul Cartwright writes:
 I am trying to setup skype. I got a nice new logitech C200 web cam  the video
 works now. But I've tried plugging 2 different microphones in, to the front 
 back panels of the desktop with no audio output. I hear the skype voice, but 
 not
 mine..
 lspci shows:
 00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio
 Controller (rev 05)

 I have also installed  when I bring up alsamixergui it has sliders for 
 Master,
 PCM,Front, Surround, Center, LFE, Side, IEX958, IEC958 Default PCM, Capture,
 Capture1, Capture 2, Analog loop, Digital, Input source1, Input source2, Mux,
 Mux1, Mux2, and Swap center.

 I also tried the sound recorder. It creates a 5Kb ogg file that is empty.

 suggestions, hints??


-- 
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/878vxwlwo1@alamut.ozu.edu.tr



How To Temporarily Suspend Network Traffic

2011-02-01 Thread Volkan YAZICI
Hi,

I want to temporarily suspend the network traffic on a particular
interface -- if possible, in microsecond granularity. For this purpose,
ifup/ifdown ioctl() calls doesn't work. That is, for wireless,
connection isn't get recovered; for wired, it takes at least 2 seconds
to recover. I tried using tc, but it doesn't accept rate 0 parameter.
Neither iwconfig wlan0 rate 0 has any effect. (Moreover, in iwconfig
manual it is told that values below 1000 are card specific and are
usually an index in the bit-rate list.) Do you have any suggestions? Or
can you point me to some other resource/mailing-list that I can consult?


Regards.


-- 
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/87tygnamfe@alamut.ozu.edu.tr



Re: How To Temporarily Suspend Network Traffic

2011-02-01 Thread Volkan YAZICI
On Tue, 1 Feb 2011 13:15:15 -0500, Gregory Seidman writes:
 On Tue, Feb 01, 2011 at 07:40:06PM +0200, Volkan YAZICI wrote:
 [...]
   # while /bin/true; do \
iptables -A OUTPUT -i wlan0 -j DROP  \
usleep 10  \
iptables -D OUTPUT -i wlan0 -j DROP
 
 command (usleep is a small C program I wrote, see the attachment),
 transfer hangs after some point and stops for ~30-40secs and finishes
 when I stop the while loop. Do I miss anything? Any suggestions?

 Here you are interrupting for 100,000 usecs (which is 100msecs, I believe),
 but you don't sleep at all between interruptions in the while loop. That
 means that it only has the time between the execution of the iptables
 command at the end of the loop and the execution of the iptables command at
 the beginning of the loop to actually transmit any packets. It is
 unsurprising that it hangs. Make sure you sleep for a while after removing
 the iptables rule.

Indeed, sleeping more than I want is what I try to avoid. In other
words, I'm inclined to believe that running iptables externally doesn't
provide an interruption mechanism in milli/microsecond granularity. Any
other suggestions?


Regards.


-- 
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/87oc6v391u@alamut.ozu.edu.tr



xfig font problem

2011-01-03 Thread Volkan YAZICI
Hi,

xfig was used to work properly in lenny, but after I migrated to
squeeze, when I start xfig, it complains that

  Can't load font: 8x13bold, using 6x13

And when I try to write something, it just uses the default font face
(times) with its default font size -- it is not possible to change the
font face and size. Below are some related diagnostics.

  $ locale -a
  C
  en_US
  en_US.iso88591
  en_US.utf8
  POSIX

  $ dpkg -l | grep fonts | awk '{print $2}'
  console-data
  console-terminus
  gsfonts
  gsfonts-x11
  texlive-fonts-recommended
  ttf-freefont
  x-ttcidfont-conf
  xfonts-100dpi
  xfonts-75dpi
  xfonts-encodings
  xfonts-scalable
  xfonts-terminus
  xfonts-utils

  $ LC_ALL=C xfig -deb
  Warning: Missing charsets in String to FontSet conversion
  Warning: Missing charsets in String to FontSet conversion
  Warning: Missing charsets in String to FontSet conversion
  Warning: Cannot convert string 7x13bold to type FontStruct
  Warning: Missing charsets in String to FontSet conversion

Any helps will be really appreciated.


Regards.


-- 
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/87tyhpn95c@alamut.ozu.edu.tr



Re: xfig font problem

2011-01-03 Thread Volkan YAZICI
On Mon, 3 Jan 2011, Camaleón noela...@gmail.com writes:
 And those files seem to be installed by the xfonts-base package...

Right. I again did the first thing that I need to do as the last one.
Anyway, thanks. (BTW, shouldn't xfig depend on xfonts-base?)


Regards.


--
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/87oc7xbygg@alamut.ozu.edu.tr



Re: whats wrong with my internet connection checker script?

2010-12-26 Thread Volkan YAZICI
On Sun, 26 Dec 2010, S Mathias smathias1...@yahoo.com writes:
 $ ping -W 1 -c 4 google.com  /dev/null | grep -q 100% packet loss  ping 
 -W 1 -c 4 www.yahoo.com  /dev/null | grep -q 100% packet loss || echo no 
 internet connection
 no internet connection

 ...both sides false, because they have no output, because google.com and 
 www.yahoo.com is reachable.
 how come it writes no internet connection? [at the longest line]
 i just want a oneliner that checks if theres internet connection or no. :\

 where did i screw up? 8)

Since both returns false, you should echo yes, not no.


Cheers.


-- 
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/87ei94jh0o@alamut.ozu.edu.tr



Re: Türkce Debian (Debian in Turkish)

2010-12-01 Thread Volkan YAZICI
On Wed, 01 Dec 2010, Debian TR debiantr.wordpr...@googlemail.com writes:
 Listede Debian'in Türkce cevirileri ile yetkili biri varsa mail
 atabilir mi? Bu konuda yardimci olmak istiyorum. Türkce mail listesi
 spam istilasi altinda gördügüm kadariyla.

You might want to get in touch with Recai Oktaş. Check out his account
on Launchpad.


Regards.


--
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/87aakpphaz@alamut.ozu.edu.tr



/etc/grub.d/10_linux anomaly

2010-11-30 Thread Volkan YAZICI
Hi,

TL;DR --- /etc/grub.d/10_linux causes update-grub to match same Linux
image twice. (Debian GNU/Linux Squeeze, up-to-date as of date.)

  # ls -1F /boot
  config-2.6.32-5-686
  grub/
  initrd.img-2.6.32-5-686
  System.map-2.6.32-5-686
  vmlinuz-2.6.32-5-686
  
  # dpkg -l | grep linux-image
  ii  linux-image-2.6.32-5-686   2.6.32-28   Linux 2.6.32 for modern PCs
  
  # update-grub
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.32-5-686
  Found initrd image: /boot/initrd.img-2.6.32-5-686
  Found linux image: /boot/vmlinuz-2.6.32-5-686
  Found initrd image: /boot/initrd.img-2.6.32-5-686
  Found Debian GNU/Linux (5.0.7) on /dev/sda2
  done
  
  # mv /etc/grub.d/10_linux ~/
  # update-grub
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.32-5-686
  Found initrd image: /boot/initrd.img-2.6.32-5-686
  Found Debian GNU/Linux (5.0.7) on /dev/sda2
  done

Any ideas?


Regards.


-- 
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/87r5e3qi2y@alamut.ozu.edu.tr



Re: /etc/grub.d/10_linux anomaly

2010-11-30 Thread Volkan YAZICI
On Tue, 30 Nov 2010, Tom H tomh0...@gmail.com writes:
 So 10_linux isn't the problem. Another script is somehow picking up
 2.6.32...

It depends. If 10_linux is expected to find currently running kernel as
well, your are right; otherwise, wrong. I thought that the current
kernel is somehow automatically added to the list without an
intervention from /etc/grub.d scripts. Anyway, there still is a problem.


Regards.


-- 
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/87mxorqh5q@alamut.ozu.edu.tr



Re: Opinions about Laptop and Debian - Nvidia vs Radeon

2010-11-28 Thread Volkan YAZICI
Hi Ivan,

I have a ATI Mobility Radeon HD 4500 Series VGA controller. It's binary
drivers are miserably useless. (Even scrolling in Firefox lags.) Hence,
I couldn't find motivation to test its 3D capabilities. Its open source
drivers bundled with some recent kernel version are way much better. (At
least no lags while scrolling, switching desktops, and streaming output
to terminal, etc.) And, as you know, both ATI drivers lack DGA support.
This results in xawtv not working and poor mplayer quality/performance.
Moreover, when you plug in an external display while X is open, notebook
screen gets fuzzy (impossible to see anything) and you just see the
screen from the external display. And when you unplug the external
display, you need to restart the linux (not X!) to get your settings
back to normal. (I experienced same for both F/OSS and binary drivers.)

OTOH, my previous Lenovo 3000 N200 notebook with nvidia VGA was superior
to my current ATI setup. I have never needed to use 3D in GNU/Linux, but
I quite often use an external display. And, nvidia-settings tool
provided by the binary nvidia drivers was an awesome swiss army knife
for me. It just works, you know, it just works. You get the feeling that
you have complete control over your VGA controller.


Regards.

On Sat, 27 Nov 2010, Ivan Marin ispma...@gmail.com writes:
 I'm planning to get a laptop soon and gonna run Debian on it. I'm
 gonna need a few things:

 - HDMI/DVI output support, as I usually use a 22' Dell external monitor;
 - A good processor, at least i5/i7 Lynnfield/Arrandale;
 - A good video card, with good 3D support on Debian - I develop a
 VTK/OpenGL application, so 3D is paramount, even if I don't like to
 run binary blobs;
 - 4GB RAM at least.
 - The bigger the screen the better, but the external monitor use will 
 dominate;
 - Need a laptop, not a desktop, for mobility purposes.

 I've searcher fo a few options, and so far in the price range that
 I've set ($1300-1500 US dollars, gonna buy the computer in the US) the
 Alienware M11x with an 1GB Nvidia GT 335M or a Alienware M15x with a
 1GB DDR3 ATI Radeon Mobility HD 5730. The Nvidia cards with the binary
 installer so far has satisfied my needs of 3D and performance (both
 with a GTS 9300M and a GTX 260 on a desktop), but there are some
 threads complaining about the binary driver and this card, mainly
 about the battery performance.

 It seems that the Radeon, both the binary and the open driver are
 working/getting better, but I still remember the times with the FGLRX
 hell. The support for the rest of the hardware seems to be not
 optimal, and even if I'm usually compile my own kernels, the closest
 to the Debian way the better - or the easiest the better, as with the
 Nvidia binary installer.

 What are your opinions/thoughts about the requirements and the
 problems? Any experiences with the especific hardware or suggestions
 of other brands/configurations? The only brands that I avoid are HP
 (REALLY bad screens) and Acer (too fragile).


-- 
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/87y68dfzen@alamut.ozu.edu.tr



Re: Opinions about Laptop and Debian - Nvidia vs Radeon

2010-11-28 Thread Volkan YAZICI
On Mon, 29 Nov 2010, Andrei Popescu andreimpope...@gmail.com writes:
 On Lu, 29 nov 10, 02:13:08, Volkan YAZICI wrote:
 On Sun, 28 Nov 2010, Andrei Popescu andreimpope...@gmail.com writes:
  On Du, 28 nov 10, 13:41:52, Volkan YAZICI wrote:
  I have a ATI Mobility Radeon HD 4500 Series VGA controller. It's binary
  drivers are miserably useless. (Even scrolling in Firefox lags.) Hence,
 
  While I don't like the ATI binary drivers this is not normal. Do you 
  have firmware-linux-nonfree installed?
 
 No. It's not needed. I downloaded the ati-foo-bar-baz.bin directly from
 the ATI website. It installs the precompiled modules and any required
 firmware files.

 My brother's laptop has the same (or a very similar) card, but 3d 
 performance is satisfactory. Did you check you dmesg and Xorg.0.log for 
 errors? Does 'glxinfo | grep rendering' show

 direct rendering: Yes

I didn't play with the settings that much. But here[1] is a related bug
report. It is a little bit dated, but I reproduced the exactly same
behaviour.


Regards.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454186


-- 
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/87d3poy30a@alamut.ozu.edu.tr



Re: Problems configuring wireless with wicd on amd64 lenny

2010-11-08 Thread Volkan YAZICI
On Sun, 7 Nov 2010, Kjetil brinchmann Halvorsen kjetil1...@gmail.com writes:
      ssid=ESSID!DOCTYPE busconfig PUBLIC
  -//freedesktop//DTD D-BUS Bus Configuration 1.0//EN
  http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd;
 busconfig
 policy user=root
 allow own=fi.epitest.hostap.WPASupplicant/

 allow send_destination=fi.epitest.hostap.WPASupplicant/
 allow send_interface=fi.epitest.hostap.WPASupplicant/
 /policy
 policy group=netdev
 allow send_destination=fi.epitest.hostap.WPASupplicant/
 allow send_interface=fi.epitest.hostap.WPASupplicant/
 /policy
 policy context=default
 deny own=fi.epitest.hostap.WPASupplicant/
 deny send_destination=fi.epitest.hostap.WPASupplicant/
 deny send_interface=fi.epitest.hostap.WPASupplicant/
 /policy
 /busconfig

 ?kjetil
      psk=PASSPHRASE
  }

 Are you sure this is the right format for wpa_supplicant.conf? My
 ubuntu live sytem has in
 /etc/dbus-1/system.d/wpa_supplicant.confThis:

Ubuntu is probably using a different version.


Regards.


--
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/87pqufapol@alamut.ozu.edu.tr



Re: Problems configuring wireless with wicd on amd64 lenny

2010-11-07 Thread Volkan YAZICI
On Sat, 6 Nov 2010, Kjetil brinchmann Halvorsen kjetil1...@gmail.com writes:
 03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001
 Wireless Network Adapter [168c:001c] (rev 01)
   Subsystem: Hewlett-Packard Company Device [103c:137b]
   Flags: bus master, fast devsel, latency 0, IRQ 19
   Memory at f600 (64-bit, non-prefetchable) [size=64K]
   Capabilities: access denied
   Kernel driver in use: ath5k
   Kernel modules: ath5k

It appears like you'll need to install a more recent ath5k driver. See
here[1].


Regards.

[1] http://linuxwireless.org/en/users/Download


-- 
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/8762w9bjf6@alamut.ozu.edu.tr



Re: Problems configuring wireless with wicd on amd64 lenny

2010-11-06 Thread Volkan YAZICI
On Fri, 5 Nov 2010, Kjetil brinchmann Halvorsen kjetil1...@gmail.com writes:
 : ifconfig wlan0 up
   succeeds, do not print anything.
 : iwlist wlan0 scan
   wlan0   No scan results.

There is a problem at this point. It should have been listing available
APs in your range. I can think of two reasons:

- Some notebook models (e.g. Lenovo 3000 series) have a wireless switch
  on their outer surface. You need to turn this on to be able make
  wireless network card tx/rx radio packages.

- You still couldn't manage to install the card drivers properly.

[Continue reading...]

On Fri, 5 Nov 2010, Kjetil brinchmann Halvorsen kjetil1...@gmail.com writes:
 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)

I think there is a problem here. Would you mind checking this by sending
us lspci -vnn and dmesg messages produced by Ubuntu GNU/Linux Live?
(Please do not wrap lines in the outputs while sending the message.)
168c:001c appears[1] to be supported by ath5k, but I wonder what trick
we are missing that Ubuntu successfully does.


Regards.

[1] http://linuxwireless.org/en/users/Drivers/ath5k#supported_chips


-- 
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/87eiayspii@alamut.ozu.edu.tr



Re: Problems configuring wireless with wicd on amd64 lenny

2010-11-05 Thread Volkan YAZICI
Hi,

wicd just parses the outputs of ifconfig/iwconfig/iwlist/wpa_supplicant
commands. Maybe manually executing this sequence may help you to spot
the problem. Here it goes:

  # ifconfig wlan0 up

Now, you should be able to see the available list accessible APs:

  # iwlist wlan0 scan

If everything is ok so far, proceed to next.

  # iwconfig wlan0 essid ESSID

Than create an entry in your /etc/wpa_supplicant/wpa_supplicant.conf
file. Take mine as an example:

  # cat /etc/wpa_supplicant/wpa_supplicant.conf
  ...
  network={
  ssid=ESSID
  psk=PASSPHRASE
  }

Now cross your fingers and hope wpa_supplicant do the rest:

  # wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0 -d

The debugging output should tell you more. Inform us about the progress,
maybe we can help you further.


Regards.


-- 
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/87r5ezrbx2@alamut.ozu.edu.tr



Re: Problems configuring wireless with wicd on amd64 lenny

2010-11-05 Thread Volkan YAZICI
On Fri, 05 Nov 2010, Volkan YAZICI yazic...@ttmail.com writes:
 Now cross your fingers and hope wpa_supplicant do the rest:

   # wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0 -d

 The debugging output should tell you more. Inform us about the progress,
 maybe we can help you further.

And of course after you see completed in the wpa_supplicant output,
then just issue a

  # dhclient wlan0

to get an IP address from the AP.


Regards.


-- 
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/87mxpnrb8v@alamut.ozu.edu.tr



Re: how to generate pi in c

2010-11-05 Thread Volkan YAZICI
On Fri, 5 Nov 2010, Arthur Bela jozsi.avad...@gmail.com writes:
 Does anyone has a generate-pi.c source code?

Answer to your homework is here[1]. Also you can find a couple million
digits of pi as a text file on the web.


Regards.

[1] http://en.wikipedia.org/wiki/Pi#Estimating_.CF.80


-- 
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/87iq0br91g@alamut.ozu.edu.tr



Re: Graphical diff/patch viewer

2010-11-03 Thread Volkan YAZICI
On Wed, 3 Nov 2010, Rob Gom rgom.deb...@gmail.com writes:
 do you know/is there any graphical patch/diff viewer in Debian (or for
 Linux in general)? Such a tool would produce side by side view of
 changes/deletions/inserts.
 There is kompare for KDE, but it is unreliable - produces false
 results for specific patches (bug not reported yet, as I have to
 reproduce it with something I can make
 public). To be honest, I have looked at meld, beyond compare, diffuse,
 xxdiff, tkdiff and found nothing appropriate.

Not appropriate in what sense?

 Do you know anything else? Have I missed anything?

There is diff modes in emacs, eclipse, netbeans, etc. Did you try them
as well?


Regards.


-- 
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/87sjzi7r8e@alamut.ozu.edu.tr



Re: Size of minimal Debian installation

2010-10-30 Thread Volkan YAZICI
Hi,

Before reading following lines, I want to remind you that official
Debian GNU/Linux installation is not optimized for constrained space
requirements, where Puppy Linux is. Consider manual pages, lots of
automation related scripts all around the place, a full featured libc
(consider uclibc), dozens of optional modules added for flexibility to
all userbase. (E.g. It is funny that gnupg depends on libusb, etc.)

On Sat, 30 Oct 2010, Jason Hsu jhsu802...@jasonhsu.com writes:
 I have a minimal Debian installation on a 2 GB VirtualBox hard drive.
 By minimal, I mean the 150 MB Netinstall ISO without any of the
 packages (not even the base system) I was given the option to
 install during the initial installation process. And I haven't even
 added anything yet.

 When I go to the / directory and type du -s, I get 355960, or nearly
 360 MB. I'm using a dynamic (rather than fixed) hard drive, and its
 size is 601 MB.

Try

- aptitude clean

- Purge removed packages.

- Do not select any packages during installation. (Neither Standard
  System, etc.)

- After installation, remove unnecessary packages as well. (For
  instance, laptop-detect, tasksel, tasksel-data, eject, etc.)

- du -sh /* for more clues.

 How can Debian with nothing added on be almost triple the size of
 Puppy Linux? I've heard that Debian can be configured to be just as
 light or even lighter than Puppy Linux.

Yes it can. Google would probably help with some keyword adjustments.

 And do Debian and the host OS show different sizes for my virtual
 Debian installation?  Why is there a 241 MB difference?  The error is
 almost double the size of Puppy Linux.

This is due to the previously used space while downloading 
uncompressing .deb packages. Filesystem is extended to handle new size
requirements. After installation, these requirements are possibly
disappeared. But filesystem was once extended, and VM just displays its
extended size. Try creating a huge file and removing it. VM will still
display the max. size of the extended fs and won't be affected by the
removal of the same file.


Regards.


-- 
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/87iq0jwolv@alamut.ozu.edu.tr



Bluetooth Package Maintenance

2010-10-26 Thread Volkan YAZICI
Hi,

I tried to get in touch with Bluetooth package maintainers, but no one
responded so far. I found the e-mail address of Filippo Giunchedi from
the mailing lists and sent him below message. As far as I understand,
Nobuhiro Iwamatsu appears to be the current active maintainer, but he
has no sign of activity yet. Where should I urge for support? Any ideas?


Regards.

On Sun, 24 Oct 2010, Filippo Giunchedi fili...@debian.org writes:
 On Fri, Oct 22, 2010 at 11:09:32AM +0300, Volkan YAZICI wrote:
 If I'm not mistaken, you appear to be the only active maintainer of the
 bluetooth package in Debian GNU/Linux. Are you aware of these[1][2]
 issues? Maintainers appear to be quite busy these days, since they
 didn't reply to [2] since 1 Aug, 2009. Where should I consult for help?
 
 [1] 
 http://lists.alioth.debian.org/pipermail/pkg-bluetooth-maintainers/2010-October/002670.html
 [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539555

 bluez maintainer these days is Nobuhiro (CCed) as I'm not active there
 anymore, he might be able to answer your questions!


-- 
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/871v7cr7fq@alamut.ozu.edu.tr



Re: Firefox

2010-10-23 Thread Volkan YAZICI
On Fri, 22 Oct 2010, Mark markthe...@gmail.com writes:
 whenever I open up firefox it crashes. I can't figure out why

Try starting it with fresh configurations. That is,

  $ mv ~/.mozilla/firefox ~/.mozilla/firefox.bak
  $ firefox


Regards.


-- 
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/87bp6lfk73@alamut.ozu.edu.tr



Re: Best way to manually replace a package with a customized one

2010-10-22 Thread Volkan YAZICI
On Fri, 22 Oct 2010, Yahya Mohammad mfya...@gmail.com writes:
 I want to use a custom compiled version of ffmpeg to enable some extra
 features. What is the best way to do this? I do not want to break
 anything that depends on ffmpeg.

 I tried making my own .deb package using checkinstall. This works
 fine, but whenever I run apt-get upgrade it wants to replace my
 customized ffmpeg.

Does How to keep specific versions of packages installed[1] solve your
problem?


Regards.

[1] http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html


-- 
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/87vd4u900z@alamut.ozu.edu.tr



XFS and Power Failures [Was: Linux filesystems]

2010-10-21 Thread Volkan YAZICI
On Tue, 27 Jul 2010, Volkan YAZICI yazic...@ttmail.com writes:
 On Tue, 27 Jul 2010, Stan Hoeppner s...@hardwarefreak.com writes:
 What write operations were you performing at the time you pulled the plug?
 Unless you were writing the superblock it'd be almost impossible to hose the
 filesystem to the point it couldn't mount.  Were you doing a resize operation
 when you pulled the plug?  xfs_growfs?  As far as recovery, it's automatic
 upon mounting the XFS filesystem.  What do you mean, precisely, by couldn't
 *recover* the / fs?

 Vanilla XFS with noatime,notail like basic mount options. The test was
 simple, I was just typing SELECT 1 from a psql command line (this
 query shouldn't even hit to disk, it just basically returns 1) and
 unplugged machine. At boot, I dropped to fsck command line. At command
 prompt, I manually fiddled around with fsck of xfs to recover the
 unmounted / filesystem, but had no luck. (I also tried recommendations
 and informative messages supplied by manpages and command
 outputs/warnings.) Also if you would Google, it shouldn't be hard to
 spot similar experiences from other people.

Another scenario, same failure. I have a squeeze installed notebook and
having troubles with X. It crashes for some driver specific reasons and
I need to hard-reset the notebook. 1-2 times I found WindowMaker missing
its workspaces, and I didn't have time to inspect the problem. Now I
lost all of my Opera bookmarks (~500 collected in years). Thanks XFS,
but no, you're not power-failure. (BTW, I kill -9ed Opera many times,
and it restored all of its settings properly. I don't think it is an
Opera or WindowMaker related bug.)


Regards.


-- 
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/87fwvzuaec@alamut.ozu.edu.tr



Re: XFS and Power Failures

2010-10-21 Thread Volkan YAZICI
On Thu, 21 Oct 2010, godo go...@dobosevic.com writes:
 On 10/21/2010 12:04 PM, Volkan YAZICI wrote:
 Another scenario, same failure. I have a squeeze installed notebook and
 having troubles with X. It crashes for some driver specific reasons and
 I need to hard-reset the notebook. 1-2 times I found WindowMaker missing
 its workspaces, and I didn't have time to inspect the problem. Now I
 lost all of my Opera bookmarks (~500 collected in years). Thanks XFS,
 but no, you're not power-failure. (BTW, I kill -9ed Opera many times,
 and it restored all of its settings properly. I don't think it is an
 Opera or WindowMaker related bug.)

 do you have ~/.opera/bookmarks.adr and if yes is it empty?

Yes, and yes, it is empty.


Regards.


-- 
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/87sjzzsrrw@alamut.ozu.edu.tr



Re: XFS and Power Failures

2010-10-21 Thread Volkan YAZICI
On Thu, 21 Oct 2010, Boyd Stephen Smith Jr. b...@iguanasuicide.net writes:
 XFS is the not only file system where power failure can result in a
 truncated file. Even ext3 can have that issue, though it is less
 likely.

 However, if the application follows a certain procedure when
 re-writing files, it will not lose data on any of these file systems.
 I suggest that Opera should be fixed to use that procedure. IIRC, this
 is a slight variation on the old two-phase save that some editors
 have used for decades, it simply requires a fsync on the temporary
 file.

 BTW, a kill -9 is very different from a power failure or a hard reset.
 In the first case, the application is allowed to do it's own cleanup;
 the kernel still cleans up after the process -- closing handles to
 kernel resources, like file descriptors; and queued tasks, like
 delayed allocation and flushing data to disk, can be run at a later
 time still. In the later, horrible things happen (e.g. in some systems
 the HDs and BUS can run for just long enough to complete a DMA
 transfer AFTER the RAM has lost coherency) and no software gets to run
 long enough to even detect what is happening, much less put the
 hardware in a known good state.

I didn't experience anything similar with reiserfs. (I'm not implying
anything, neither defensing reiserfs; just sharing my experience.)


Regards.


-- 
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/87vd4vh61u@alamut.ozu.edu.tr



Re: udev auto mount usb disk

2010-10-08 Thread Volkan YAZICI
On Fri, 8 Oct 2010, Camaleón noela...@gmail.com writes:
 On Thu, 07 Oct 2010 23:06:12 +0300, Volkan YAZICI wrote:
   # cat /etc/udev/rules.d/89-tosun.rules 
   ACTION==add, ENV{ID_FS_UUID}==0C98AFAF98AF95AC, RUN+=mount 
 /media/tosun 
   ACTION==remove, ENV{ID_FS_UUID}==0C98AFAF98AF95AC, RUN+=umount -l 
 /media/tosun

 (...)

 I see no point for that rule. What are you trying to achieve? :-?

Trying to mount my USB disk to /media/tosun everytime it is plugged in,
and umount whenever it is unplugged.


Regards.


--
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/87aamoeuhi@alamut.ozu.edu.tr



Re: udev auto mount usb disk

2010-10-08 Thread Volkan YAZICI
On Fri, 8 Oct 2010, Camaleón noela...@gmail.com writes:
 On Fri, 08 Oct 2010 15:31:37 +0300, Volkan YAZICI wrote:
 On Fri, 8 Oct 2010, Camaleón writes:
 On Thu, 07 Oct 2010 23:06:12 +0300, Volkan YAZICI wrote:
   # cat /etc/udev/rules.d/89-tosun.rules ACTION==add,
   ENV{ID_FS_UUID}==0C98AFAF98AF95AC, RUN+=mount /media/tosun
   ACTION==remove, ENV{ID_FS_UUID}==0C98AFAF98AF95AC, RUN+=umount
   -l /media/tosun

 (...)

 I see no point for that rule. What are you trying to achieve? :-?
 
 Trying to mount my USB disk to /media/tosun everytime it is plugged in,
 and umount whenever it is unplugged.

 USB devices are handled by desktop environment, no need to write rules 
 for that. What DE are you using?

 In GNOME/KDE as soon as you plug any USB storage device it is 
 automatically mounted under /media/device_label. Likewise, the disk is 
 umounted/disconnected as soon as you select safely disconnect or safely 
 remove from icon desktop context menu or any desktop applet.

There is no DE, and I don't want auto-mount. This case is just for this
specific device.

 But do not mix static mount points (those defined in /etc/fstab) with 
 udev rules neither /media mout points to avoid conflicts. Just choose 
 what method best suits your needs (the static one -using fstab file and 
 manually calling mount/umount as required- or dynamic one -letting udev 
 to handle the whole mount/umount process-).

Yep, I know, but thanks for the clarification. udev maintainer helped me
to spot the problem: I need to use sh -c 'mount ...' to execute
commands. BTW, enabling /dev/hotplug.log in
/lib/udev/rules.d/80-driver.rules is also quite helpful for debugging
purposes.


Regards.


--
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/8739sgsslp@alamut.ozu.edu.tr



udev auto mount usb disk

2010-10-07 Thread Volkan YAZICI
Hi,

Below are the configurations related with my USB disk.

  # grep tosun /etc/fstab
  UUID=0C98AFAF98AF95AC /media/tosun ntfs-3g noauto,fmask=133,dmask=022 0 0

  # cat /etc/udev/rules.d/89-tosun.rules
  ACTION==add, ENV{ID_FS_UUID}==0C98AFAF98AF95AC, RUN+=mount /media/tosun
  ACTION==remove, ENV{ID_FS_UUID}==0C98AFAF98AF95AC, RUN+=umount -l 
/media/tosun

  # udevadm info --name=/dev/sdb1 --query=all
  P: 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1
  N: sdb1
  S: block/8:17
  S: disk/by-id/usb-TOSHIBA_MK5055GSX_95EF50EF-0:0-part1
  S: disk/by-path/pci-:00:1d.0-usb-0:1.5:1.0-scsi-0:0:0:0-part1
  S: disk/by-uuid/0C98AFAF98AF95AC
  S: disk/by-label/XS
  E: UDEV_LOG=3
  E: 
DEVPATH=/devices/pci:00/:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1
  E: SUBSYSTEM=block
  E: DEVNAME=sdb1
  E: ID_VENDOR=TOSHIBA
  E: ID_VENDOR_ENC=TOSHIBA\x20
  E: ID_VENDOR_ID=152d
  E: ID_MODEL=MK5055GSX
  E: ID_MODEL_ENC=MK5055GSX\x20\x20\x20\x20\x20\x20\x20
  E: ID_MODEL_ID=2329
  E: ID_REVISION=0100
  E: ID_SERIAL=TOSHIBA_MK5055GSX_95EF50EF-0:0
  E: ID_SERIAL_SHORT=95EF50EF
  E: ID_TYPE=disk
  E: ID_INSTANCE=0:0
  E: ID_BUS=usb
  E: ID_USB_INTERFACES=:080650:
  E: ID_USB_INTERFACE_NUM=00
  E: ID_USB_DRIVER=usb-storage
  E: ID_PATH=pci-:00:1d.0-usb-0:1.5:1.0-scsi-0:0:0:0
  E: ID_PART_TABLE_TYPE=dos
  E: ID_FS_LABEL=XS
  E: ID_FS_LABEL_ENC=XS
  E: ID_FS_UUID=0C98AFAF98AF95AC
  E: ID_FS_UUID_ENC=0C98AFAF98AF95AC
  E: ID_FS_TYPE=ntfs
  E: ID_FS_USAGE=filesystem
  E: MAJOR=8
  E: MINOR=17
  E: DEVTYPE=partition
  E: DEVLINKS=/dev/block/8:17 
/dev/disk/by-id/usb-TOSHIBA_MK5055GSX_95EF50EF-0:0-part1 
/dev/disk/by-path/pci-:00:1d.0-usb-0:1.5:1.0-scsi-0:0:0:0-part1 
/dev/disk/by-uuid/0C98AFAF98AF95AC /dev/disk/by-label/XS

Despite I tried restarting the system and udev many times, plugging -in
and -out the USB disk doesn't make udev to trigger any events. dmesg
just informs me about the disk as usual:
  
  [ 1981.290165] udev: starting version 160
  [ 2031.599488] usb 2-1.5: USB disconnect, address 5
  [ 2042.422847] udev: starting version 160
  [ 2057.352064] usb 2-1.5: new high speed USB device using ehci_hcd and 
address 6
  [ 2057.445887] usb 2-1.5: New USB device found, idVendor=152d, idProduct=2329
  [ 2057.445891] usb 2-1.5: New USB device strings: Mfr=1, Product=2, 
SerialNumber=5
  [ 2057.445894] usb 2-1.5: Product: USB to ATA/ATAPI bridge
  [ 2057.445897] usb 2-1.5: Manufacturer: JMicron
  [ 2057.445899] usb 2-1.5: SerialNumber: 95EF50EF
  [ 2057.446829] usb-storage 2-1.5:1.0: Quirks match for vid 152d pid 2329: 8020
  [ 2057.446865] scsi6 : usb-storage 2-1.5:1.0
  [ 2058.443128] scsi 6:0:0:0: Direct-Access TOSHIBA  MK5055GSX 
PQ: 0 ANSI: 2 CCS
  [ 2058.443995] sd 6:0:0:0: Attached scsi generic sg2 type 0
  [ 2058.444549] sd 6:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 
GB/465 GiB)
  [ 2058.445306] sd 6:0:0:0: [sdb] Write Protect is off
  [ 2058.445314] sd 6:0:0:0: [sdb] Mode Sense: 34 00 00 00
  [ 2058.445319] sd 6:0:0:0: [sdb] Assuming drive cache: write through
  [ 2058.446805] sd 6:0:0:0: [sdb] Assuming drive cache: write through
  [ 2058.446812]  sdb: sdb1
  [ 2058.476735] sd 6:0:0:0: [sdb] Assuming drive cache: write through
  [ 2058.476738] sd 6:0:0:0: [sdb] Attached SCSI disk

OTOH, manually issuing mount /media/tosun works without a problem. Any
ideas about what might be missing?


Regards.


-- 
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/87tykxpy2z@alamut.ozu.edu.tr



Re: squeeze /etc/kbd/remap replace caps with ctrl

2010-10-04 Thread Volkan YAZICI
On Sun, 3 Oct 2010, Bob Proulx b...@proulx.com writes:
 Volkan YAZICI wrote:
 In Squeeze, despite I removed the comment prefix of
 
   s/keycode  58 = Caps_Lock/keycode  58 = Control/;
 
 line, neither /etc/init.d/kbd restart, nor restart makes any
 difference in the caps lock key. Am I missing something or the
 configuration is broken and not working?

 Works for me.  Please show us exactly what you have tried.

That's exactly what I've tried. Below is the original content of this
file.

  # This sed script is run across the dumpkeys output to remap keys on the 
console
  
  # This turns caps lock into control
  #s/keycode 58 = Caps_Lock/keycode 58 = Control/;

 In the above it looks like you spelled control wrong as Control/.
 That slash shouldn't be there. It is spelled Control.

I think it's a sed command. See

  $ echo -e abc\ndec | sed 's/c/C/'
  abC
  deC

Would you mind sharing your own /etc/kbd/remap configuration?


Regards.


-- 
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/8762xi7alp@alamut.alborz.net



Re: squeeze /etc/kbd/remap replace caps with ctrl

2010-10-04 Thread Volkan YAZICI
On Sun, 03 Oct 2010, Volkan YAZICI yazic...@ttmail.com writes:
 In Squeeze, despite I removed the comment prefix of

   s/keycode  58 = Caps_Lock/keycode  58 = Control/;

 line, neither /etc/init.d/kbd restart, nor restart makes any
 difference in the caps lock key. Am I missing something or the
 configuration is broken and not working?

Solution[1] in EmacsWiki solved the problem.


Regards.

[1] http://www.emacswiki.org/emacs/MovingTheCtrlKey#toc7


-- 
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/87vd5hvh7m@alamut.ozu.edu.tr



squeeze /etc/kbd/remap replace caps with ctrl

2010-10-03 Thread Volkan YAZICI
Hi,

In Squeeze, despite I removed the comment prefix of

  s/keycode  58 = Caps_Lock/keycode  58 = Control/;

line, neither /etc/init.d/kbd restart, nor restart makes any
difference in the caps lock key. Am I missing something or the
configuration is broken and not working?


Regards.


-- 
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/87bp7b6n97@alamut.alborz.net



Samsung R540 Microphone Problem

2010-09-30 Thread Volkan YAZICI
Hi,

I'm having trouble to get mic working on this damn Samsung R540. I tried
using linux-image-2.6.26-2-686 (stable/lenny) and
linux-image-2.6.32-bpo.5-686 (backports) with no success. Then I
downloaded latest alsa-driver and tried to compile it against
linux-image-2.6.32-bpo.5-686, but this time I encountered missing files
in linux-headers-2.6.32-bpo.5-common. (Reported the issue to the
debian-kernel ml.) Then I downloaded a vanilla linux-2.6.32.5 and
followed below steps.

1) Copied config-2.6.32-bpo.5-686 to /usr/src/linux-2.6.32.5/.config.
   Ran make menuconfig and loaded .config. Later, make oldconfig,
   make prepare, and make scripts.

2) Issued

 ./configure \
   --with-cards=hda-intel \
   --with-kernel=/usr/src/linux-2.6.32.5

   in /usr/local/src/alsa-driver-1.0.23 and then, make  make
   install followed.

3) Manually copied below files to appropriate locations in
   /lib/modules/2.6.32-bpo.5-686.

 /lib/modules/2.6.32.5/misc/
 |-- acore
 |   |-- oss
 |   |   |-- snd-mixer-oss.ko
 |   |   `-- snd-pcm-oss.ko
 |   |-- seq
 |   |   |-- oss
 |   |   |   `-- snd-seq-oss.ko
 |   |   |-- snd-seq-device.ko
 |   |   |-- snd-seq-midi-event.ko
 |   |   `-- snd-seq.ko
 |   |-- snd-hwdep.ko
 |   |-- snd-page-alloc.ko
 |   |-- snd-pcm.ko
 |   |-- snd-timer.ko
 |   `-- snd.ko
 `-- pci
 `-- hda
 |-- snd-hda-codec-analog.ko
 |-- snd-hda-codec-atihdmi.ko
 |-- snd-hda-codec-ca0110.ko
 |-- snd-hda-codec-cirrus.ko
 |-- snd-hda-codec-cmedia.ko
 |-- snd-hda-codec-conexant.ko
 |-- snd-hda-codec-idt.ko
 |-- snd-hda-codec-intelhdmi.ko
 |-- snd-hda-codec-nvhdmi.ko
 |-- snd-hda-codec-realtek.ko
 |-- snd-hda-codec-si3054.ko
 |-- snd-hda-codec-via.ko
 |-- snd-hda-codec.ko
 `-- snd-hda-intel.ko

4) Issued a depmod -a in /lib/modules/2.6.32-bpo.5-686 and then
   restarted the system.

You see, I tried hard. :F Anyway, my mic still doesn't work. Any ideas?
(lspci -vnn is attached.)


Regards.

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:0044] (rev 02)
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information ?

00:01.0 PCI bridge [0604]: Intel Corporation Device [8086:0045] (rev 02) 
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: d000-dfff
Memory behind bridge: e000-f00f
Capabilities: [88] Subsystem: Samsung Electronics Co Ltd Device 
[144d:c07f]
Capabilities: [80] Power Management version 3
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 
Enable+
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel ?
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1a.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced Host 
Controller [8086:3b3c] (rev 05) (prog-if 20 [EHCI])
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f4c08000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCIe advanced features ?
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

00:1b.0 Audio device [0403]: Intel Corporation Ibex Peak High Definition Audio 
[8086:3b56] (rev 05)
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at f4c0 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 
Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel ?
Capabilities: [130] Root Complex Link ?
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port 1 
[8086:3b42] (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: c000-cfff
Memory behind bridge: f380-f4bf
Prefetchable memory behind bridge: f4d0-f4ef
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 
Enable+
Capabilities: [90] Subsystem: Samsung Electronics Co 

Re: Samsung R540 Microphone Problem

2010-09-30 Thread Volkan YAZICI
On Thu, 30 Sep 2010, Mihira Fernando mihirathe...@gmail.com writes:
 Stupid question but did you select the sound capture source and set
 the capture volume in the sound mixer application ? I have a sound
 card that uses the snd-hda-intel driver as well and had the same
 problem, only to find that in addition to the mic volume, I had to set
 the Capture volume as well to get the mic working.

My bad, I should have given my alsamixer configurations. They are as
follows.

  Master: 95
  PCM: 100100
  Front Mi: 100100
  Mic Boos: 6767
  Beep: Muted
  Speaker: 9090
  Capture: 100100
  Digital: 100100


Regards.


-- 
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/87bp7fxqyd@ttmail.com



Re: Samsung R540 Microphone Problem

2010-09-30 Thread Volkan YAZICI
On Thu, 30 Sep 2010, Mihira Fernando mihirathe...@gmail.com writes:
  On 09/30/2010 07:40 PM, Volkan YAZICI wrote:
 On Thu, 30 Sep 2010, Mihira Fernandomihirathe...@gmail.com  writes:
 Stupid question but did you select the sound capture source and set
 the capture volume in the sound mixer application ? I have a sound
 card that uses the snd-hda-intel driver as well and had the same
 problem, only to find that in addition to the mic volume, I had to set
 the Capture volume as well to get the mic working.
 My bad, I should have given my alsamixer configurations. They are as
 follows.

Master: 95
PCM: 100100
Front Mi: 100100
Mic Boos: 6767
Beep: Muted
Speaker: 9090
Capture: 100100
Digital: 100100

 The setting i'm talking about is in the Input mixer settings.

Hrm... Where can I reach that configuration?

BTW, I made some progress. In the dmesg output (attached with the post)
I spotted below lines.

[7.948049] hda_codec: ALC269: BIOS auto-probing.
[7.948757] input: HDA Digital PCBeep as 
/devices/pci:00/:00:1b.0/input/input9
[7.951086] HDA Intel :01:00.1: PCI INT B - GSI 17 (level, low) - IRQ 
17
[7.951126] HDA Intel :01:00.1: setting latency timer to 64

And by looking at Documentation/sound/alsa/HD-Audio-Models.txt for
ALC269, I tried loading sound modules with model option set to one of
basic, quanta, eeepc-p703, eeepc-p901, fujitsu, lifebook
values. Here are my observations: basic, lifebook, and quanta
managed to get that ssshhh noise from the speakers. I can hear the
sound of my fingers typing from the speakers. When I talk to the mic, I
can also hear my own voice. But arecord still doesn't record anything.
Among those working three combinations, basic and lifebook bring
much more configuration properties to the alsamixer screen compared to
quanta. basic brings Front Mic configuration, and lifebook
brings Dock Mick configuration to the alsamixer screen. Still
scratching. Any ideas?


Regards.


-- 
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/87bp7f2r4h@ttmail.com



Re: Samsung R540 Video Card (ATI Mobility Radeon HD545v)

2010-09-29 Thread Volkan YAZICI
On Wed, 29 Sep 2010, Volkan YAZICI yazic...@ttmail.com writes:
 I'm having very disappointing moments after switching from Lenovo 3000
 N200 to Samsung R540. It took half of my day to get wireless working.
 Anyway, I installed the ATI Catalyst 10.9 Proprietary Linux x86 Display
 Driver[1], but couldn't set the screen resolution to 1600x1200. (From
 Xorg logs, I infer that video card is capable of such screen resolutions
 and I hope screen supports that as well.) I attached my
 atigetsysteminfo.sh output. (It includes dmesg, xorg.conf, Xorg.0.log,
 and tons of other diagnostics.) Would somebody mind helping me to figure
 out what am I missing? Is the system capable of displaying the screen at
 1600x1200 resolution?

Nevermind. Stupid notebook, it's limited with 1366x768! Damn! Sorry for
the false alarm.


Cheers.


-- 
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/87ocbg1cwc@alamut.alborz.net



Re: Embedded System Recommendations

2010-07-28 Thread Volkan YAZICI
On Wed, 28 Jul 2010, Hal Vaughan h...@halblog.com writes:
 I'm working with something that will go in people's offices. I was
 seriously considering using some Soekris boxes (http://soekris.com).
 The problem is the upper limit of RAM is 512 MB. I'd like to get
 something a little faster than their systems and with more memory, but
 the memory would take priority.

Did you check EPIA Mini-ITX boards?


Regards.


-- 
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/8762zzs4rr@alamut.alborz.net



Re: Linux filesystems was [Re: Debian cd supporting ext4.]

2010-07-27 Thread Volkan YAZICI
On Tue, 27 Jul 2010, Stan Hoeppner s...@hardwarefreak.com writes:
 1. Best overall performance for most systems, large and small, and the FS
 creation and mounting parameters are super configurable to match the system
 hardware for best performance.  One recent set of recent benchmarks
 demonstrating so:
 http://btrfs.boxacle.net/repository/raid/2010-04-14_2004/2.6.34-rc3/2.6.34-rc3.html

 man mkfs.xfs
 man mount

 Older benchmarks:
 http://www.debian-administration.org/articles/388
 http://everything2.com/index.pl?node_id=1479435

 In regard to this last benchmark, some(many?) of the default XFS filesystem
 creation parameters and mounting parameters have changed.  Note the testing
 was performed in 2005.  A lot changes in 5 years.  Read all you can and ask
 questions on the XFS mailing list before tweaking parameters based on what you
 find in old forum posts and benchmarks such as this.

 Guaranteed Rate I/O for streaming and other critical applications--unique to
 XFS amongst all filesytems, ever, not just on Linux--this feature was born on
 IRIX XFS for the broadcasting industry where video stutter was basically death
 to a TV station or network such as CNN, CBS, etc.  This single feature from
 SGI allowed broadcast media to wholesale convert from tape to disk (this and
 SGI FC storage arrays)

 2. Commercial origin and backing.  SGI is a fantastic technology compay:
 http://oss.sgi.com/projects/xfs/

 3. Maturity/history/longevity, IRIX birth in 1993, Linux birth 2001, included
 in mainline in late 2003:
 http://en.wikipedia.org/wiki/XFS
 http://marc.info/?l=linux-kernelm=107088371607817w=2

 4. Equal/superior user space toolset:
 xfsprogs - includes online defragmentation tool xfs_fsr and online growth tool
 xfs_growfs.  No other stable Linux FS has an online defragmenter.  Ext4 has
 e4defrag but AFAIK it's not complete nor close to maturity or stability.
 xfs_fsr has been both for a decade.

 5. Very active developer community and thorough documentation:
 http://xfs.org/index.php/Main_Page

You are missing a very important point: Durability to power failures.
(Excuse me, but a majority of GNU/Linux users are not switched to a UPS
or something.) And that's where XFS totally fails[1][2]. And considering
my personal experiences, reiserfs is the fastest fs (among ext3 and xfs)
in terms of boot recovery phase times.


Regards.

[1] http://linux.derkeiler.com/Mailing-Lists/Debian/2008-11/msg00097.html
[2] 
http://xfs.org/index.php/XFS_FAQ#Q:_Why_do_I_see_binary_NULLS_in_some_files_after_recovery_when_I_unplugged_the_power.3F


-- 
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/87bp9tuki8@alamut.alborz.net



Re: Linux filesystems was [Re: Debian cd supporting ext4.]

2010-07-27 Thread Volkan YAZICI
On Tue, 27 Jul 2010, Stan Hoeppner s...@hardwarefreak.com writes:
 Volkan YAZICI put forth on 7/27/2010 8:22 AM:
 1.  Never quote forum or email posts as empirical or reliable evidence of
 anything.

You're right, my bad.

 You quoted this FAQ item solely based on the tile, without reading it,
 in your effort to denounce XFS. The article clearly states the problem
 was fixed over 3 years ago, which you conveniently ignored.

I read the very same sentence, but AFAIK, default kernel for xfs bundled
with lenny doesn't have that fix.

 From now on, please get your facts straight, with proper
 documentation, before trying to denounce a fantastic piece of FOSS
 into which many top-of-their-game kernel engineers have put tens of
 thousands of man hours, striving to make it the best it can be--and
 are wildly succeeding.

 Join the xfs mailing list and you might learn something useful in
 place of this trash you're talking about it.

About a year ago, in a similar rush to yours, I ported two of our
PostgreSQL database servers to XFS. During testing period, I even
couldn't *recover* the / fs after the very first power failure test.
Whole testing period took 1 week and the result was negative. This is my
experience with XFS, and not much more thrash than your technical
knowledge. And instead of being a technology zealot, you'd be better put
forward some real world case scenarios. Try unplugging your xfs machineS
that many timeS, and let's discuss this topic again. Yep, my findings
might be deprecated, but I don't know any others investigating the same
subject with recent versions.

BTW, I still couldn't understand your temper and rudeness. I just share
my experience, and try it, it works.


Regards.


-- 
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/87sk34u9j7@alamut.alborz.net



Re: Linux filesystems was [Re: Debian cd supporting ext4.]

2010-07-27 Thread Volkan YAZICI
On Tue, 27 Jul 2010, Stan Hoeppner s...@hardwarefreak.com writes:
 NASA trusts it with over 1PB of storage, but _you_ don't trust it?  Who are
 you again?  How many hundreds of TB of storage do you manage on EXT3/4? ;)

NASA also trusts Windows and NTFS too? Who are you again?

I think you are confusing apples and oranges. Everbody's requirements
might differ, and hence do their tools. Instead of being a tech zealot,
one just need to choose the right tool for the right job.

I don't even think Linus is using XFS too. Isn't he a technical person
in terms of your definition? So what should we do in that case? Ask to
RMS?


Regards.


-- 
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/87ocdsu93o@alamut.alborz.net



Re: Linux filesystems was [Re: Debian cd supporting ext4.]

2010-07-27 Thread Volkan YAZICI
On Tue, 27 Jul 2010, Stan Hoeppner s...@hardwarefreak.com writes:
 I'd also like to add that anyone smart enough to be on this list is smart
 enough to know you should have a UPS, regardless of what filesystem you use.
 If you're not you shouldn't be here.  If you disagree on the technical merits
 (not cost), you're uneducated and/or stubborn.

You are still not getting it, don't you? We have thousands of embedded
linuxes in the wild and they are just simple data aggragetors. You can't
have a power backup unit in such a condition.

I'd also like to add that anyone smart enough to be on this list is
smart enough to know you cannot have a UPS for embedded systems,
regardless of what filesystem you use. If you're not you shouldn't be
here. If you disagree on the technical merits (not cost), you're
uneducated and/or stubborn.


Regards.


-- 
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/87k4ogu7on@alamut.alborz.net



Re: Linux filesystems was [Re: Debian cd supporting ext4.]

2010-07-27 Thread Volkan YAZICI
On Tue, 27 Jul 2010, Stan Hoeppner s...@hardwarefreak.com writes:
 What write operations were you performing at the time you pulled the plug?
 Unless you were writing the superblock it'd be almost impossible to hose the
 filesystem to the point it couldn't mount.  Were you doing a resize operation
 when you pulled the plug?  xfs_growfs?  As far as recovery, it's automatic
 upon mounting the XFS filesystem.  What do you mean, precisely, by couldn't
 *recover* the / fs?

Vanilla XFS with noatime,notail like basic mount options. The test was
simple, I was just typing SELECT 1 from a psql command line (this
query shouldn't even hit to disk, it just basically returns 1) and
unplugged machine. At boot, I dropped to fsck command line. At command
prompt, I manually fiddled around with fsck of xfs to recover the
unmounted / filesystem, but had no luck. (I also tried recommendations
and informative messages supplied by manpages and command
outputs/warnings.) Also if you would Google, it shouldn't be hard to
spot similar experiences from other people.

At NASA, they might have genius technicians; but, IMHO a majority of the
linux users would want a filesystem to recover without a prompt from the
user.

 I'm basically a one man army trying to defeat misinformation WRT XFS
 and attempt to educate ppl with the correct information.

I am glad -users ml have you; and I'd be really, really appreaciated if
somebody having experience and knowledge on fs issues can shed some
light to our ignorance. I also support the replacement of default fs
with something that is much more recent. From this point of view, XFS is
a superior alternative. You are totally right with your claims about its
advantages over other alternatives. But as you can see, people still
complain about XFS's sensitivity to power failures. Assuming a majority
of your users aren't behind a UPS, you can sell/ship your product with
such a default filesystem choice. But as you said, there are no
published concrete benchmarks about this issue. It is all what people
claim in the mailing lists. If you would share some of your findings
about Power Failures and XFS to convince us, I'm sure most of us will
be happy to advocate XFS's this achievement.


Regards.


-- 
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/87fwz4u4oi@alamut.alborz.net



Re: Which version for CPU Intel Double Cores 64bits ?

2010-06-27 Thread Volkan YAZICI
Hi,

On Sat, 26 Jun 2010, Bruno Costacurta tec...@costacurta.org writes:
 I just ordered a laptop with following CPU and vendor specifications

 - CPU: Intel Double Cores 64bits (ULV SU4100)
 - 2Mo cache
 - UltraLowVoltage 10W 1.3Ghz

On Sat, 26 Jun 2010, Amrit Panesar apane...@4195tech.com writes:
 The AMD64 dist. would probably be the best for you
 You can find the latest amd64 ISOs on the Debian Site.
 http://www.debian.com/CD/http-ftp/

Shouldn't he be using ia64 port instead? In here[1], for ia64, it writes
that

  First officially released with Debian 3.0. This is a port to Intel's
  first 64-bit architecture. Note: this should not be confused with the
  latest Intel 64-bit extensions for Pentium 4 and Celeron processors,
  called EM64T; for these, see the AMD64 port.

and AFAIK, ULV SU4100[2] is not of type EM64T.


Regards.

[1] http://www.debian.org/ports/
[2] http://ark.intel.com/Product.aspx?id=43568


-- 
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/87eifshghi@alamut.alborz.net



Re: Globally map C-m to Return

2010-05-24 Thread Volkan YAZICI
On Wed, 19 May 2010, Vadim Matveev vad...@gmail.com writes:
 How can i globally map C-m to work as Return? It is default in
 rxvt-unicode and vimperator, but i want it to work this way with any X
 application. I tried xbindkey with 'xdotool key Return', but it is too
 slow - about 1 sec delay, useless.
 Maybe it should be solved via WM (xmonad), but anyway i don't know how.
 Any solution?

Try xmodmap. For console (without X) you'll need to fiddle with kbd
stuff.


Regards.


-- 
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/874ohxkbmx@alamut.alborz.net



Re: lighttpd doesn't listen port 80 in a lenny chroot environment

2010-04-18 Thread Volkan YAZICI
On Sun, 18 Apr 2010, Onur Aslan onuras...@gmail.com writes:
 I installed Debian lenny with debootstrap to a dir to use with chroot.

 I am using Debian squeeze.

 I mounted /dev /sys and proc in my chroot environment. After installed
 lighttpd, it doesn't listening port 80. It's only listen tcp6 80. I am
 using default lighttpd configuration.

 My mount commands for chroot:

   mount -o bind /dev /mychrootdir/dev/ 
   mount -o bind /sys /mychrootdir/sys/ 
   mount -t proc none /mychrootdir/proc/

 I am starting fam and portmap before lighttpd. apache2 working fine but
 lighttpd doesn't listen tcp 80 and I don't get any error.

 Do you have any idea?

Did you try with below configurations:

  server.use-ipv6 = disable
  server.port = 80


Regards.


-- 
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/877ho48uev@alamut.alborz.net



Re: ext2/3 vs xfs for maildir

2010-01-01 Thread Volkan YAZICI
On Fri, 1 Jan 2010, Camaleón noela...@gmail.com writes:
 On Fri, 01 Jan 2010 09:51:23 -0600, Stan Hoeppner wrote:
 Which filesystem is more appropriate for maildir use on a
 Postfix/Dovecot system, ext2/3 or xfs?  This maildir will be storing
 mulitple mail folders and files, some folders containing over 10,000
 email files.

 How about ReiserFS? 

 Despite not being very much actively developed upstream, it is still a 
 very good filesystem, mainly for managing small files.

I strongly agree, even in recent ext4 and nilfs benchmarks, reiserfs is
generally the winner in many different scenarious. Besides, XFS is very
disappointing at power failures and ext2/3 requires huge amounts of
rescan time during boot after an unexpected reboot.


Regards.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Assoc.ing Process with Network Traffic (iptraf, iftop, etc.)

2009-11-22 Thread Volkan YAZICI
Hi,

I can monitor network traffic of specific interfaces via iptraf of
iftop. What I also would like to do is to associate a system process for
the related traffic. Is such a thing possible? Are there any tools
providing such a functionality?


Regards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: BFD ( Brute Force Detection) rules for Debian Lenny.

2009-09-27 Thread Volkan YAZICI
On Sat, 26 Sep 2009, Israel Garcia igalva...@gmail.com writes:
 I've  downloaded BFD (Brute Force Detection) from
 http://www.rfxn.com/?page_id=51 and installed on a debian lenny server
 and every seems to be working fine, BFD is working with APF and there
 are a lot of scanning IPs  blocked in /etc/apf/deny_hosts.rules file.
 BUT, there're a lot failed authentication IPs address  that BFD does
 not see. I think it's a config problem the sshd rule. This is sshd BFD
 rule I'm using:

 REQ=/usr/sbin/sshd

 if [ -f $REQ ]; then
  LP=$AUTH_LOG_PATH
  TLOG_TF=sshd
  TMP=/usr/local/bfd/tmp

  ## SSHD
  ARG_VAL=`$TLOG_PATH $LP $TLOG_TF | sed -e 's/::://' | grep -E
 '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | sed -n -e '/sshd/s/.*user \(.*\)
 from \([^ ]*\).*/\2:\1/p'`
 fi

 I've searched google and I'm unable to find new BFD rules of using Debian 
 lenny.
 My question is:

 Does anybody has a new BFD sshd rule for Debian lenny?

Why not using something similar to below iptables rules?

  #!/bin/bash
  #
  # /etc/network/if-up.d/bfa-protection - Start iptables protection against
  #   brute-force attacks.
  #
  
  # Skip loopback interface.
  [ $IFACE = lo ]  exit 0
  
  /sbin/iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --set
  /sbin/iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent 
--update --seconds 60 --hitcount 6 -j DROP

You can also introduce a -j LOG rule for persistence of the tracked
attacks.


Regards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: tun(4)

2009-08-20 Thread Volkan YAZICI
On Thu, 20 Aug 2009, Jerome BENOIT jgmben...@mailsnare.net writes:
 is which package is the manpage for tun ?

$ apt-file search tun.4
freebsd-manpages: /usr/share/man/man4/if_tun.4freebsd.gz
freebsd-manpages: /usr/share/man/man4/tun.4freebsd.gz


Regards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: wireless interface name changes across reboots

2009-06-18 Thread Volkan YAZICI
On Thu, 18 Jun 2009, Kamaraju S Kusumanchi raju.mailingli...@gmail.com writes:
 When I reboot my laptop, my wireless card sometimes gets recognized as eth2.
 Other times it gets recognized as wlan0_rename.

I don't know the exact reason, but best to my knowledge udev finds different
hardware attributes to the network interfaces at every boot. To fix the problem,
I manually edit /etc/udev/rules.d/70-persistent-net.rules and fix interface
names according to the hardware attributes (e.g. MAC address). (Don't forget to
take a backup of the original file before mangling its content.) This works for
me.


Regards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: iwlist wlan0 scan problem with iwl4965

2009-06-02 Thread Volkan YAZICI
On Tue, 2 Jun 2009, Alex Samad a...@samad.com.au writes:
 just something simple try

 ifconfig wlan0 up
 iwlist wlan0 scan

Great! Now I need something wooden to hit my head.


Cheers.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: HOWTO Enable packet forward?

2009-05-28 Thread Volkan YAZICI
On Thu, 28 May 2009, EQMaker eqma...@gmail.com writes:
 FORWARD_IPV4=yes  at /etc/sysconfig/network.

$ grep forward /etc/sysctl.conf
# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1
# Uncomment the next line to enable packet forwarding for IPv6
#net.ipv6.conf.all.forwarding=1


Regards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Verbose CRON Logging

2009-05-26 Thread Volkan YAZICI
Hi,

I have some erronous cron jobs which result in error dumps in syslog file.

  # grep Permission denied /var/log/syslog
  May 23 07:07:01 alamut CRON[21520]: Permission denied
  May 23 08:07:01 alamut CRON[21563]: Permission denied
  May 23 09:07:01 alamut CRON[21620]: Permission denied
  May 23 10:07:01 alamut CRON[22768]: Permission denied
  ...
  May 24 20:07:01 alamut CRON[11292]: Permission denied
  May 24 21:07:01 alamut CRON[11404]: Permission denied
  May 26 09:07:01 alamut CRON[4046]: Permission denied

As can be seen from the timestamp values, job is scheduled to run per hour.
Actually, I can spot the erronous cron job by manually trying to execute every
script under /etc/cron.daily, but is there a more sensible way of doing this? Is
it possible to increase the verbosity of cron log messages in case of an error?
Should I stick with another cron alternative? What are your recommendations?


Regards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



  1   2   >