Re: problem whit virtual interfaces [SOLVED]

2010-01-30 Thread Tzafrir Cohen
On Fri, Jan 22, 2010 at 03:46:21PM +0100, Marco Vaschetto wrote:
 Camaleón ha scritto:
 On Fri, 22 Jan 2010 14:09:48 +0100, Marco Vaschetto wrote:

   
 Camaleón ha scritto:
 
 On Fri, 22 Jan 2010 13:11:18 +0100, Marco Vaschetto wrote:


   
 iface eth0 inet static
 
 Shouldn't that read iface eth0:1 inet static? :-?
^^


   
 I have try whit static configuration for eth0 and the alias, like:
 

 (...)

 And I try to configure (*eth0*)* *whit the local Ethernet ip address and
 the alias (*eth0:1*) whit the public ip but I got always the same error,

 so if the configuration of /etc/network/interfaces is right I'm
 thinking, is possible, I didn't enable in the kernel some modules;

 but if the unload modules, I didn't know witch one I must load for make
 the alias working.
 

 No additional module should be needed to load for using virtual  
 interfaces. It must be a very an error in the config file we are both 
 failing to see :-)

 Just try with a simpler file, something like this:

 5.4.3. The virtual interface
 http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_virtual_interface

 And see what happens.

 Greetings,

   
 yes, is about metric the problem, and I think must configure the virtual  
 interface like is a normal hardware..

 now I have configure like this

 #eth0 public ip
 allow-hotplug
 auto eth0
 iface eth0 inet static
address 195.137.146.82
netmask 255.255.255.248
network 195.137.146.80
broadcast 195.137.146.87

If you defines an address and a netmask, providing the network address
and the broadcast address is redundant. You can remove those lines.

gateway 195.137.146.81

So this interface is the default gateway

 metric 0
 #eth0:1 local ethernet
 allow-hotplug
 auto eth0:1
 iface eth0:1 inet static
address 192.168.0.50
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254

No, wait. This is the default gateway!

dns-nameserver 192.168.0.1
 metric 1

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


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



Switch from X to any tty freeze the machine

2010-01-30 Thread Jeffrey Cao
This problem happens when I upgrade some xorg packages recently.
When I switch X to any tty, the machine freeze. The same symptom happens
when I reboot or shutdown the machine from X.
But if I do not start X, it's OK to switch between tty1-6.
The xorg version is: 1:7.5+2.


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



Re: dormant package maintainer

2010-01-30 Thread Celejar
On Sat, 23 Jan 2010 18:12:03 + (UTC)
T o n g mlist4sunt...@yahoo.com wrote:

 Hi,
 
 What's the recommended way to deal with dormant package maintainer?

An NMU?

http://www.debian.org/doc/developers-reference/pkgs.html#nmu
http://wiki.debian.org/NonMaintainerUpload
http://wiki.debian.org/LowThresholdNmu

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: radeonhd: no acceleration DRI / AGP???

2010-01-30 Thread Kelly Clowers
On Sat, Jan 30, 2010 at 16:00, Klistvud quotati...@aliceadsl.fr wrote:
 Dne, 30. 01. 2010 16:32:02 je Joost Kraaijeveld napisal(a):

 Hi,

 Does the radeonhs driver support acceleration?

 That's a question I'm very much interested in too. I've always been under
 the impression that the radeon and radeonhd drivers only support basic 2D
 acceleration, and only for some cards. IIRC, 3D acceleration is still a
 trade secret for AMD.

AMD has published all 2d and 3d info for r100 through r700 (r800/5xxx is
in the pipeline):
http://www.x.org/docs/AMD/

Here are the status pages for the two drivers:
http://wiki.x.org/wiki/radeon
http://wiki.x.org/wiki/radeonhd

DRI2/KMS is theoretically usable with 2.6.32, Mesa 7.7, XServer 1.7 and
the latest Radeon (not HD) drivers (possibly with some patches), but
anything older is a no go.


Cheers,
Kelly Clowers


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



remove an HTML tag and all its children from commandline

2010-01-30 Thread Zhang Weiwu
Hello. I believe this is a common case and must have been discussed
before on various other forums like awk/sed/regular expression group.
However I could not google them out. You would be helping me a lot if
you simply point to a reference to a solution.

I want to remove all advertisements in my 100 html files. They are
pretty neatly classed, like the following:

div class=advertisement
...
/div

However I could not simply do this:
s/div class=advertisement.*/div//

Because it is too greedy, that matches the /div till the last, which
is almost always after the advertisement.

If I set it to not to be greedy, it also fail because it stops at the
first /div inside the advertisement.

Consider this case that both greedy and non-greedy fail:

div class=page-content
  div class=advertisement
divOur product is the best/div
divContact us now!/div
  /div
/div

Greedy output:

div class=page-content

Non-greedy output:

div class=page-content
divContact us now!/div
  /div
/div


Expected output:

div class=page-content
/div

The only way to make it right seems to be able to give the replacement /
remove expression the ability to count the number of div and /div
it encounters. I could program such thing in C thanks to my college
education, but it sounds overkill for such a common task. What would you
do in this case?


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



Re: build from source, patch does not remove cleanly

2010-01-30 Thread T o n g
On Sat, 30 Jan 2010 20:14:56 +0100, Sven Joachim wrote:

 Read /usr/share/doc/quilt/README.source for information how to work with
 packages that use quilt.

Thanks. It compiles fine now.

How would I submit patch? Would my hacked debian/patches/Acer_Aspire_5536 
alone be fine?

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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



Re: remove an HTML tag and all its children from commandline

2010-01-30 Thread T o n g
On Sun, 31 Jan 2010 10:54:46 +0800, Zhang Weiwu wrote:

 I want to remove all advertisements in my 100 html files. They are
 pretty neatly classed, like the following:
 
 div class=advertisement
 ...
 /div
 
 However I could not simply do this:
 s/div class=advertisement.*/div//
 
 Because it is too greedy

For not-so-simple tasks, you need not-so-simple tools. Depending on how 
much time you'd like to investigate into such not-so-simple tools, take a 
look at lib?, sgrep or the xpath language. 

HTH

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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



Sound - none happening.......

2010-01-30 Thread Charlie

Hello,

Always had trouble getting sound to work with Debian, never had it
working with Squeeze, though I might see if I could get it going again:

Acer 3614WLCi laptop

$ lspci | grep -i audio
00:1e.2 Multimedia audio controller: Intel Corporation
82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)

I see a bug on the net against the hardware above on Ubuntu? It is said
it can be worked around with alsa-lib, but not how that might be done.

$ lsmod | grep snd
snd_intel8x0   19523  1 
snd_intel8x0m   8100  0 
snd_ac97_codec 79136  2 snd_intel8x0,snd_intel8x0m
ac97_bus 710  1 snd_ac97_codec
snd_pcsp5219  0 
snd_pcm_oss28479  0 
snd_mixer_oss  10461  1 snd_pcm_oss
snd_pcm47350  5
snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcsp,snd_pcm_oss
snd_seq_midi3480  0 snd_rawmidi12313  1
snd_seq_midi snd_seq_midi_event  3684  1 snd_seq_midi
snd_seq35303  2 snd_seq_midi,snd_seq_midi_event
snd_timer  12258  2 snd_pcm,snd_seq
snd_seq_device  3673  3 snd_seq_midi,snd_rawmidi,snd_seq
snd33551  13
snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcsp,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore   3450  1 snd snd_page_alloc  4977  3
snd_intel8x0,snd_intel8x0m,snd_pcm

$ dpkg -l alsa-base
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/
Name   VersionDescription
+++-==-==-
ii  alsa-base  1.0.21+dfsg-2  ALSA driver
configuration files

$ cat   /proc/asound/cards
 0 [ICH6   ]: ICH4 - Intel ICH6
  Intel ICH6 with ALC655 at irq 21
 1 [pcsp   ]: PC-Speaker - pcsp
  Internal PC-Speaker at port 0x61
 2 [Modem  ]: ICH-MODEM - Intel ICH6 Modem
  Intel ICH6 Modem at irq 21


Installed:

v   alsa
- i   alsa-base   - ALSA driver configuration
files i   alsa-firmware-loaders   - ALSA software loaders for
specific hardwar i   alsa-oss- ALSA wrapper for
OSS applications i   alsa-tools  - Console based
ALSA utilities for specific i   alsa-tools-gui  - GUI
based ALSA utilities for specific hard i
alsa-utils  - ALSA utilities i
alsamixergui- graphical soundcard mixer for ALSA
soundca v   alsaplayer  - i A
alsaplayer-alsa - PCM player designed for ALSA (ALSA
output i   alsaplayer-common   - PCM player designed for
ALSA (common files i   alsaplayer-esd  - PCM player
designed for ALSA (EsounD outpu i A alsaplayer-gtk  -
PCM player designed for ALSA (GTK+ version

The following doesn't work:

# udevtrigger --verbose --subsystem-match=sound
-su: udevtrigger: command not found

My: /etc/modprobe.d/alsa-base-blacklist.conf
Is like this:

# Uncomment these entries in order to blacklist unwanted modem drivers
# blacklist snd-atiixp-modem
# blacklist snd-intel8x0m
# blacklist snd-via82xx-modem
# Comment this entry in order to load snd-pcsp driver
# blacklist snd-pcsp
# Comment this entry in order to load pcspkr driver

Possibly someone could point me further, or see what I'm missing. I've
been without any sound so long, I don't really miss it, but it would
just be nice to have my Squeeze system working as it should.

TIA
Charlie
-- 
Registered Linux User:- 329524
.

At a given moment I open my eyes and exist. And before that, during all
eternity, what was there? Nothing. - Ugo Betti

.

Debian GNU/Linux - just the best way to create magic


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



Re: Any way to create a new /var/lib/dpkg/status file for current Debian installation

2010-01-30 Thread Jeffrey Cao
On 2010-01-29, Tech Geek techgeek12...@gmail.com wrote:
 --00504502ce5da6db1a047e5657d2
 Content-Type: text/plain; charset=ISO-8859-1

 So I have been using my current Debian instalaltion for almost a year now
 and over this time I have installed, purged and deinstalled a lot of
 packages. It seems that the status file maintains a list of all the packages
 and their current states that have been ever installed on the system since
 the fresh installation.

 For example:
 debian:/var/lib/dpkg# cat status | grep custom
 Package: linux-image-2.6.28-custom-test1
 Package: linux-image-2.6.28-custom-test2
 Package: linux-image-2.6.29-custom-test1
 Package: linux-image-2.6.29-custom-test2

 The above packages are no longer installed on my system (since last 6
 months) but the dpkg library (status file) stilll keeps track of them.

 So my question is:
 Is there any way by which I can regenerate a fresh /var/lib/dpkg/status
 file for all the packages that are currently installed on my systems?
 Nothing is wrong on my system as such but space is premium for me (even 1 MB
 matters) as I am using a compact flash of a relatively small size (approx.
 512 MB). Another reason is that I am just curios to find out how to
 regenerate it if one has to.


Don't know if there's automatic way. But one way you can try is to write a 
script to remove those sections whose Status is not installed in the
file /var/lib/dpkg/status.

Jeffrey


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



Re: remove an HTML tag and all its children from commandline

2010-01-30 Thread Celejar
On Sun, 31 Jan 2010 10:54:46 +0800
Zhang Weiwu zhangwe...@realss.com wrote:

...

 I want to remove all advertisements in my 100 html files. They are
 pretty neatly classed, like the following:
 
 div class=advertisement
 ...
 /div
 
 However I could not simply do this:
 s/div class=advertisement.*/div//
 
 Because it is too greedy, that matches the /div till the last, which
 is almost always after the advertisement.
 
 If I set it to not to be greedy, it also fail because it stops at the
 first /div inside the advertisement.

...

 The only way to make it right seems to be able to give the replacement /
 remove expression the ability to count the number of div and /div
 it encounters. I could program such thing in C thanks to my college
 education, but it sounds overkill for such a common task. What would you
 do in this case?

Among programmers of any experience, it is generally regarded as A Bad
Ideatm to attempt to parse HTML with regular expressions. How bad of an
idea? It apparently drove one Stack Overflow user to the brink of
madness:

You can't parse [X]HTML with regex. Because HTML can't be parsed by
regex. Regex is not a tool that can be used to correctly parse HTML. As
I have answered in HTML-and-regex questions here so many times before,
the use of regex will not allow you to consume HTML.

Regular expressions are a tool that is insufficiently sophisticated to
understand the constructs employed by HTML. HTML is not a regular
language and hence cannot be parsed by regular expressions. Regex
queries are not equipped to break down HTML into its meaningful parts.
so many times but it is not getting to me. Even enhanced irregular
regular expressions as used by Perl are not up to the task of parsing
HTML. You will never make me crack. HTML is a language of sufficient
complexity that it cannot be parsed by regular expressions.

Even Jon Skeet cannot parse HTML using regular expressions. Every time
you attempt to parse HTML with regular expressions, the unholy child
weeps the blood of virgins, and Russian hackers pwn your webapp.
Parsing HTML with regex summons tainted souls into the realm of the
living. HTML and regex go together like love, marriage, and ritual
infanticide. The center cannot hold it is too late. The force of
regex and HTML together in the same conceptual space will destroy your
mind like so much watery putty. If you parse HTML with regex you are
giving in to Them and their blasphemous ways which doom us all to
inhuman toil for the One whose Name cannot be expressed in the Basic
Multilingual Plane, he comes.

That's right, if you attempt to parse HTML with regular expressions,
you're succumbing to the temptations of the dark god Cthulhu's … er …
code.

http://www.codinghorror.com/blog/archives/001311.html

Read on for more detail, and the Right Way to do this.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: Solution to Connecting to Verizon MiFi

2010-01-30 Thread Celejar
On Fri, 22 Jan 2010 13:15:36 -0500
Wayne linux...@gmail.com linux...@gmail.com wrote:

 In an effort to give back to the Debian Community, here is a rundown on
 How I get wireless working with Verizon's MiFi hub.

Consider putting this on wiki.debian.org?

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: Solution to Connecting to Verizon MiFi

2010-01-30 Thread Stan Hoeppner
Wayne linux...@gmail.com put forth on 1/22/2010 12:15 PM:

 Note:  If not able to connect to the internet, disable your firewall. If
 you can then connect, fix your firewall.  I use firehol.
 
 Thanks Again Stan for all of your help.

That's so kind of you Wayne.  I didn't do all that much, just helped you climb
over that one little hill that was standing in your way.  I'm so glad you got it
working!

-- 
Stan


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



Postgres server does not start.

2010-01-30 Thread Sthu Deus
Good day.


Please, help me to run my postgres DB.

Here is problem description.

I have 2 instances in /var/lib/postgresql/8.3:

main
mine

When I start postgres server w/ command:

/etc/init.d/postgresql-8.3 start

I get:

Starting PostgreSQL 8.3 database server: main mineThe PostgreSQL server failed 
to start. Please check the log output. failed!
 failed!

In the appropriate logs I have:

for the main:

2010-01-31 13:31:00 GMT-7 LOG:  could not load root certificate file 
root.crt: no SSL error reported
2010-01-31 13:31:00 GMT-7 DETAIL:  Will not verify client certificates.
2010-01-31 13:31:00 GMT-7 LOG:  test message did not get through on socket for 
statistics collector
2010-01-31 13:31:00 GMT-7 LOG:  disabling statistics collector for lack of 
working socket
2010-01-31 13:31:00 GMT-7 WARNING:  autovacuum not started because of 
misconfiguration
2010-01-31 13:31:00 GMT-7 HINT:  Enable the track_counts option.
2010-01-31 13:31:00 GMT-7 LOG:  database system was shut down at 2010-01-31 
13:10:52 GMT-7
2010-01-31 13:31:00 GMT-7 LOG:  incomplete startup packet
2010-01-31 13:31:00 GMT-7 LOG:  database system is ready to accept connections

and for the mine:

2010-01-31 13:31:03 GMT-7 LOG:  could not load root certificate file 
root.crt: no SSL error reported
2010-01-31 13:31:03 GMT-7 DETAIL:  Will not verify client certificates.
2010-01-31 13:31:03 GMT-7 LOG:  could not bind IPv4 socket: Address already in 
use
2010-01-31 13:31:03 GMT-7 HINT:  Is another postmaster already running on port 
5432? If not, wait a few seconds and retry.
2010-01-31 13:31:03 GMT-7 WARNING:  could not create listen socket for 
localhost
2010-01-31 13:31:03 GMT-7 FATAL:  could not create any TCP/IP sockets

So, I can not connect to the databases from mine.
From the logs I do understand that mine have a concurrency w/ the main - 
but I did not change postgres configuration - as far as I remember, - and since 
I installed postgres I used both - main and mine - w/o any concurrency.

So, what is wrong? Or how I can fix it?


PS Reading of the install and run chapters of the postgres documentation gave 
me no ideas, as well as searching on Internet - relating to my problem.

Thanks for Your time.

PS Please, reply to the list.


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



Re: build from source, patch does not remove cleanly

2010-01-30 Thread Sven Joachim
On 2010-01-31 04:43 +0100, T o n g wrote:

 How would I submit patch? Would my hacked debian/patches/Acer_Aspire_5536 
 alone be fine?

I think so, the maintainer can apply that easily enough.  Or rather he
could, if the package were actually maintained. :-(

Sven


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



Re: Verbinding weg bij Sid

2010-01-30 Thread Paul van der Vlis
Sjoerd Hiemstra schreef:
 Hallo,
 
 Eergister, na een upgrade van Sid, was de verbinding met het internet
 verdwenen. Dus ook geen hoop meer dat het zich na een volgende upgrade
 zou herstellen, want ook een upgrade is dus niet mogelijk.
 
 Ik heb Sid maar eens gewist, en er een backup voor in de plaats gezet.
 Die deed het goed, maar na een update  upgrade, verdorie, de
 verbinding weer weg.
 
 Nu was voorheen, na het booten, de laatste regel voor de inlogprompt 
 iets van network-manager, met gegevens over de tot stand gebrachte
 verbinding. En die regel zie ik nu niet meer verschijnen.
 Met sysv-rc-conf is te zien dat network-manager wel draait.
 
 Enig idee wat er aan de hand kan zijn, en hoe de verbinding met het
 internet te herstellen is?

Welke netwerkkaart/chip gebruik je?
Wellicht heeft deze nu firmware nodig?

Ik zag dat o.a. Intel-netwerkkaarten die het altijd zomaar deden, nu
firmware nodig hebben, blijkbaar is die firmware uit het kernel gehaald.

Omdat het bij mij om een nieuwe installatie ging en de installer er om
vroeg, heb ik die firmware hier vandaan gehaald:
http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/
Op een USB-stick zetten is handig.

Met vriendelijke groet,
Paul van der Vlis.




-- 
http://www.vandervlis.nl/


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



Re: Verbinding weg bij Sid

2010-01-30 Thread Sjoerd Hiemstra
Op zaterdag 30 januari om 13.08 uur schreef Paul van der Vlis:
 Welke netwerkkaart/chip gebruik je?

Via Rhine.

 Wellicht heeft deze nu firmware nodig?
 Ik zag dat o.a. Intel-netwerkkaarten die het altijd zomaar deden, nu
 firmware nodig hebben, blijkbaar is die firmware uit het kernel
 gehaald.

Ik herinner me een opmerking over benodigde firmware tijdens een
upgrade, maar als je 'non-free' in /etc/apt/sources.list hebt staan, dan
kwam dit wel voor elkaar, zo begreep ik.
Maar zoals je in de andere posts leest, is de verbinding al hersteld;
het lijkt trouwens wel zeker dat het wegvallen van de ethernetverbinding
met network-manager 0.7.999 te maken heeft.
Niettemin, wel interessant, zo'n opmerking over die firmware.

S.


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



Re: Verbinding weg bij Sid (opgelost!)

2010-01-30 Thread Sjoerd Hiemstra
Op vrijdag 29 januari om 23.20 uur schreef Diederik de Haas:
 Ja, ik weet zeker dat ik network-manager niet heb draaien. 
 Het schijnt tegenwoordig redelijk te werken, maar dat is wel eens
 anders geweest. Daarnaast heb je het helemaal niet nodig, een entry
 in je /etc/network/interfaces is genoeg.

Ik heb network-manager gedeïnstalleerd, en heb een
/etc/network/interfaces die exact gelijk is aan de jouwe. En waarachtig,
nog steeds verbinding. Zo leer je nog eens wat.  :-)

  Ik meen me vaag te herinneren dat je als je een vast IP-adres hebt,

 Vast IP doe je zoals Huub aangaf

Kom ik nog op.

  Opmerkelijk dat in de bootmessages van Squeeze een verbinding via
  eth0 voorkomt, terwijl het in Sid eth1 genoemd wordt.

 Kijk hiervoor eens in /etc/udev/rules.d/70-persistent-net.rules

Inmiddels weet ik dat dit ermee te maken heeft.
In /etc/udev/rules.d/70-persistent-net.rules wordt eth0 in beslag
genomen door een regel voor iets dat ooit om één of andere reden is
ontstaan, maar in ieder geval niet meer bestaat. eth1 komt in de tweede
regel voor.
Wat je dan te doen staat: dit bestand weggooien, en de module voor de
netwerkverbinding stoppen en opnieuw starten, of anders gewoon
rebooten. Er ontstaat een nieuwe 70-persistent-net.rules, nu met 1
regel, waarin ook mijn netwerkkaart voorkomt, 'VIA Rhine'. Was voorheen
niet zo. Er staat nog 'eth1', maar die kan ik handmatig veranderen in
'eth0'.

Na het opnieuw opstarten blijkt dat de verbinding nu op eth0 zit, dat
was voorheen eth1. Ook verscheen voorheen met dmesg de melding
'renaming eth0 to eth1', dat is nu ook verdwenen.

En ziedaar: het blijkt ook weer te werken met de nieuwste versie van
network-manager!
De bug in network-manager 0.7.999-1 en -2 bestaat dus hieruit dat er
geen rekening meer wordt gehouden met een eventuele hernoeming van eth0
naar eth1, veroorzaakt door het feit dat eth0 in 70-persistent-net.rules
onnodig in beslag wordt genomen door iets anders.

Ik denk trouwens dat als er in /etc/network/interfaces eth1 had gestaan
op de plaatsen waar nu eth0 staat, het dan toch nog zou hebben gewerkt.

Veel van het bovenstaande kwam ik trouwens tegen in de Engelstalige
Debian-lijst. Iemand constateert dat op sommige van zijn machines de
ethernetverbinding op eth0 zit, en op andere op eth1. Vanwaar dat
verschil, en of dat nou niet uniform te krijgen is.
Voor wie het interesseert: kijk op
http://lists.debian.org/debian-user/2010/01/thrd5.html
en zoek binnen deze pagina naar het onderwerp 'eth0 or eth1', iets
boven het midden.

S.


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



<    1   2