Bug#433568: add vlan support

2017-11-02 Thread Tim Stoop
Hi,

Has this patch already been accepted? Any more info on how to use it, in
that case?

-- 
Kind regards / Met vriendelijke groet,
Tim Stoop
Kumina bv
www.kumina.nl
kvk nr 14095795



Bug#433568: add vlan support

2016-03-30 Thread Ben Hutchings
On Wed, 2016-03-30 at 10:26 -0400, Lennart Sorensen wrote:
> On Wed, Mar 30, 2016 at 03:11:03PM +0100, Dimitri John Ledkov wrote:
> > 
> > Hi,
> > 
> > On Sat, 12 Mar 2016 13:49:57 +0100 Tom H  wrote:
> > > 
> > > You don't need vlan; iproute2's ip can do it:
> > > 
> > > ip link add link eth0 name vlan9 type vlan id 9
> > > or
> > > ip link add link eth0 name eth0.9 type vlan id 9
> > > 
> > > 
> > I know that. vlan package is needed for the ifupdown hooks to parse
> > vlan stanza from /etc/network/interfaces and hence configure vlan id.
> > Or am I missing something?
> Currently the vlan package provides such hooks.  No reason one could
> not add such hooks to the iproute2 package or even extend ifupdown to
> handle it itself.  Using the vlan package is certainly not efficient
> compared to using the ip command for the job.  This is also true for
> bridge-utils as far as I know, where I think iproute2 can also completely
> replace that.

I agree with this.  Debian-installer should not create a network
configuration that depends on tools that have been deprecated for over
a decade.

Ben.

-- 
Ben Hutchings
Tomorrow will be cancelled due to lack of interest.

signature.asc
Description: This is a digitally signed message part


Bug#433568: add vlan support

2016-03-30 Thread Lennart Sorensen
On Wed, Mar 30, 2016 at 03:11:03PM +0100, Dimitri John Ledkov wrote:
> Hi,
> 
> On Sat, 12 Mar 2016 13:49:57 +0100 Tom H  wrote:
> > You don't need vlan; iproute2's ip can do it:
> >
> > ip link add link eth0 name vlan9 type vlan id 9
> > or
> > ip link add link eth0 name eth0.9 type vlan id 9
> >
> >
> 
> I know that. vlan package is needed for the ifupdown hooks to parse
> vlan stanza from /etc/network/interfaces and hence configure vlan id.
> Or am I missing something?

Currently the vlan package provides such hooks.  No reason one could
not add such hooks to the iproute2 package or even extend ifupdown to
handle it itself.  Using the vlan package is certainly not efficient
compared to using the ip command for the job.  This is also true for
bridge-utils as far as I know, where I think iproute2 can also completely
replace that.

-- 
Len Sorensen



Bug#433568: add vlan support

2016-03-30 Thread Dimitri John Ledkov
Hi,

On Sat, 12 Mar 2016 13:49:57 +0100 Tom H  wrote:
> You don't need vlan; iproute2's ip can do it:
>
> ip link add link eth0 name vlan9 type vlan id 9
> or
> ip link add link eth0 name eth0.9 type vlan id 9
>
>

I know that. vlan package is needed for the ifupdown hooks to parse
vlan stanza from /etc/network/interfaces and hence configure vlan id.
Or am I missing something?

Regards,

Dimitri.



Bug#433568: add vlan support

2016-03-12 Thread Tom H
You don't need vlan; iproute2's ip can do it:

ip link add link eth0 name vlan9 type vlan id 9
or
ip link add link eth0 name eth0.9 type vlan id 9



Bug#433568: add vlan support

2016-03-10 Thread Dimitri John Ledkov
Hello,

On Wed, 27 Mar 2013 22:10:51 +0800 YunQiang Su  wrote:
> Thanks for Zhengpeng Hou, who points out that I leave a piece of code which is
> not used anymore in this patch. This piece of code make a more malloc while 
> not
> free.
>
> And I refresh this patch with the current git.
> This is the new patch.
>
> Any one has progress on rewriting it?


OMG, I just had to go through vlan pain, and *anything* would be
better than current situation, rewrite or not.

One thing I see missing is that apart from writing out correct
/etc/network/interface one also needs to install "vlan" package in the
target installation. Is this done somewhere?

Apart from that nit-pick, this is amazing, and I'm feeling like just
finally merging this.

Regards,

Dimitri.



Bug#433568: add vlan support

2014-10-29 Thread Tim Stoop
Hi,

We're really interested in this, where should we look for a status
update? I still do not see an option for it in the installer for Wheezy,
so I guess it's not done yet. Will it be present for Jessie? Anything we
can do to help?

-- 
Kind regards,
Met vriendelijke groet,
Tim Stoop
Kumina bv
www.kumina.nl
kvk nr 14095795

Interested in keeping up to date with Kumina?
Consider subscribing to our newsletter!
https://www.kumina.nl/newsletter


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5450b3d4.2010...@kumina.nl



Bug#433568: add vlan support

2014-10-29 Thread Cyril Brulebois
Tim Stoop t...@kumina.nl (2014-10-29):
 Hi,
 
 We're really interested in this, where should we look for a status
 update? I still do not see an option for it in the installer for Wheezy,
 so I guess it's not done yet. Will it be present for Jessie? Anything we
 can do to help?

Philipp, any news on your side?

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#433568: add vlan support

2013-03-27 Thread YunQiang Su
Thanks for Zhengpeng Hou, who points out that I leave a piece of code which is
not used anymore in this patch. This piece of code make a more malloc while not
free.

And I refresh this patch with the current git.
This is the new patch.

Any one has progress on rewriting it?


vlan_new.diff
Description: Binary data


Bug#433568: add vlan support

2013-01-27 Thread Cyril Brulebois
Hello,

(putting back Luca in the loop just in case)

Philipp Kern pk...@debian.org (29/12/2012):
 On Sat, Dec 29, 2012 at 08:34:27AM +0100, Christian PERRIER wrote:
  Taking over KiBi's hat, I would say there is no chance this makes
  it to wheezy. And taking mine, too, with several addition to
  localization bits. The debconf templates need minor edits to
  compleltely fit with the writing style we're using elsewhere...and
  they add 8 stringsand we have 56 complete translations (more
  than we *ever* had).

I might have considered something “already-suitable” for inclusion
into rc2 or something, but since a rewrite is suggested by Philipp, it
looks like the backport solution looks the way to go (at least Aron is
OK with Philipp's proposal).

 I'd say that this is something that must be preseeded and if
 anything it would show errors in English. So I'm not too concerned
 about that. But if we agree that it is useful to show
 netcfg/use_vlan in jessie in expert mode, we can do that too.

ACK.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#433568: add vlan support

2013-01-03 Thread Aron Xu
On Sat, Dec 29, 2012 at 4:37 AM, Philipp Kern pk...@debian.org wrote:
 On Sat, Dec 29, 2012 at 03:41:33AM +0800, Aron Xu wrote:
 The Linux kernel's vlan udeb is added in linux/3.2.35-1, so there is
 no outside thing to block us from adding vlan support to netcfg, can
 anyone review the patch?

 It needs a rewrite, IMHO. I started reviewing / rewriting it, but I'm not
 stopping others to work on it. (More debugging output, more sane memory
 handling, coding style adjustments.)

 I'm not sure I get to it before the next rc, though. At least, if it
 works, it could probably also be backported to wheezy's d-i if it's too
 late. It's pretty self-contained.


Thank you for working on this, and sorry for my not able to provide more help.

I don't expect it to be included to Wheezy in current stage of freeze,
and a backport will work. I work part-time in an IDC and the needs of
some not-so-common usages (like vlan support in d-i) are obvious to
me. Replacing some of RHEL/CentOS installations with Debian helps
quite a log in daily operation, but this gives me some chances to find
problems and help on improving Debian in such environments.

It would be handy if the option is shown if vlan udeb is selected when
choosing additional functions during installation, but I doubt whether
this can apply for kBSD as they seem to have vlan support built-in to
the kernel. Also hurd does not support 8021q vlan yet, showing the
option does not make sense for it.


-- 
Regards,
Aron Xu


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMr=8w4wghes4lsvyu2u1_yxgkhsw+ljvj6bht8kejagbjb...@mail.gmail.com



Bug#433568: add vlan support

2012-12-29 Thread Philipp Kern
On Sat, Dec 29, 2012 at 08:34:27AM +0100, Christian PERRIER wrote:
 Taking over KiBi's hat, I would say there is no chance this makes it
 to wheezy. And taking mine, too, with several addition to localization
 bits. The debconf templates need minor edits to compleltely fit with
 the writing style we're using elsewhere...and they add 8
 stringsand we have 56 complete translations (more than we *ever*
 had).

I'd say that this is something that must be preseeded and if anything it
would show errors in English. So I'm not too concerned about that. But if
we agree that it is useful to show netcfg/use_vlan in jessie in expert
mode, we can do that too.

Kind regards
Philipp Kern


signature.asc
Description: Digital signature


Bug#433568: add vlan support

2012-12-28 Thread Aron Xu
Hi,

The Linux kernel's vlan udeb is added in linux/3.2.35-1, so there is
no outside thing to block us from adding vlan support to netcfg, can
anyone review the patch?

-- 
Regards,
Aron Xu


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMr=8w7cfb8hrfwmnzglw45ke8eqfbh+scuodkn4vx2vu6i...@mail.gmail.com



Bug#433568: add vlan support

2012-12-28 Thread Philipp Kern
On Sat, Dec 29, 2012 at 03:41:33AM +0800, Aron Xu wrote:
 The Linux kernel's vlan udeb is added in linux/3.2.35-1, so there is
 no outside thing to block us from adding vlan support to netcfg, can
 anyone review the patch?

It needs a rewrite, IMHO. I started reviewing / rewriting it, but I'm not
stopping others to work on it. (More debugging output, more sane memory
handling, coding style adjustments.)

I'm not sure I get to it before the next rc, though. At least, if it
works, it could probably also be backported to wheezy's d-i if it's too
late. It's pretty self-contained.

Kind regards
Philipp Kern


signature.asc
Description: Digital signature


Bug#433568: add vlan support

2012-12-28 Thread Christian PERRIER
Quoting Philipp Kern (pk...@debian.org):
 On Sat, Dec 29, 2012 at 03:41:33AM +0800, Aron Xu wrote:
  The Linux kernel's vlan udeb is added in linux/3.2.35-1, so there is
  no outside thing to block us from adding vlan support to netcfg, can
  anyone review the patch?
 
 It needs a rewrite, IMHO. I started reviewing / rewriting it, but I'm not
 stopping others to work on it. (More debugging output, more sane memory
 handling, coding style adjustments.)
 
 I'm not sure I get to it before the next rc, though. At least, if it
 works, it could probably also be backported to wheezy's d-i if it's too
 late. It's pretty self-contained.

Taking over KiBi's hat, I would say there is no chance this makes it
to wheezy. And taking mine, too, with several addition to localization
bits. The debconf templates need minor edits to compleltely fit with
the writing style we're using elsewhere...and they add 8
stringsand we have 56 complete translations (more than we *ever*
had).

In my opinion, this should go into a jessie branch, in netcfg.




signature.asc
Description: Digital signature


Bug#433568: Bug #433568 add vlan support

2012-09-09 Thread Aron Xu
I'm sending a reminder on this issue, it would be best if d-i can
support VLAN using expert mode of installation, configuring VLAN using
iproute2 during installation is much more annoying comparing to
configure it within d-i.

-- 
Regards,
Aron Xu


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMr=8w488pdoocn_kehvq8x7udvqe-z95mkqbhlfuydqmxn...@mail.gmail.com



Bug#433568: Bug #433568 add vlan support

2012-09-09 Thread Gaudenz Steinlin

Hi Aron

Aron Xu happyaron...@gmail.com writes:

 I'm sending a reminder on this issue, it would be best if d-i can
 support VLAN using expert mode of installation, configuring VLAN using
 iproute2 during installation is much more annoying comparing to
 configure it within d-i.

A reminder is nice and if you are luck might get things started, but
as you probably know, d-i is free software. Pachtes are most welcome.
Everyone is free to contribute and I don't know of any technically sound
contribution to d-i that has been turned down.

The code is at git.debian.org, the components you probably need to
modify are netcfg and busybox (to enable VLAN support).

Gaudenz

-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ehmbci58@meteor.durcheinandertal.bofh



Bug#433568: Bug #433568 add vlan support

2012-09-09 Thread Aron Xu
Hi,

On Sun, Sep 9, 2012 at 11:47 PM, Gaudenz Steinlin gaud...@debian.org wrote:

 Hi Aron

 Aron Xu happyaron...@gmail.com writes:

 I'm sending a reminder on this issue, it would be best if d-i can
 support VLAN using expert mode of installation, configuring VLAN using
 iproute2 during installation is much more annoying comparing to
 configure it within d-i.

 A reminder is nice and if you are luck might get things started, but
 as you probably know, d-i is free software. Pachtes are most welcome.
 Everyone is free to contribute and I don't know of any technically sound
 contribution to d-i that has been turned down.


Thanks, I know that, and I have been a Debian contributor for quite
some time, :-)

 The code is at git.debian.org, the components you probably need to
 modify are netcfg and busybox (to enable VLAN support).


IIRC busybox-udeb has enabled VLAN support, the only thing left is
netcfg. But to be honest I'm not familiar with those stuff...

-- 
Regards,
Aron Xu


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMr=8w6vXt8TRTXHs0myOsuFjspKuCkQL=am_jxeehi7xu3...@mail.gmail.com



Bug#433568: add vlan support

2007-07-18 Thread Geert Stappers
Op 17-07-2007 om 16:53 schreef Luca Filipozzi:
 Package: debian-installer

meanwhile reassigned to netcfg

 vlan support in the installer would avoid this reconfiguration.

Where to find more information about vlan support?
(Please provide pointer to vlan support in debian)


Cheers
Geert Stappers



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#433568: add vlan support

2007-07-18 Thread Jérémy Bobbio
On Wed, Jul 18, 2007 at 07:15:29PM +0200, Geert Stappers wrote:
 Op 17-07-2007 om 16:53 schreef Luca Filipozzi:
  Package: debian-installer
 
 meanwhile reassigned to netcfg

It depends on which level we support vlans.  I see two options:
 * full support with the debconf questions and proper scripts,
 * only make the necessary udebs available and a good documentation on
   how to enable vlans through a shell.

In my opinion, people who would like to enable VLAN should be pretty
used to the command-line (network switches are usually configured that
way), so the later would be enough, IMHO.

  vlan support in the installer would avoid this reconfiguration.
 
 Where to find more information about vlan support?
 (Please provide pointer to vlan support in debian)

Please look into the vlan [1] package for the necessary command line
tools.  Kernel support is provided by the 8021q module, available in
standard Debian kernel.

[1] http://packages.debian.org/vlan

Once the vlan package is installed, I just need to write something like:

  iface eth0.42 inet dhcp

This will configure an interface named eth0.42, using the physical
link connected on eth0 and tagging packets with VLANID 42.

So in any case, we would need to recognize if such interface is used
during the installation process to install the vlan package in the
target.

Cheers,
-- 
Jérémy Bobbio.''`. 
[EMAIL PROTECTED]: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature


Bug#433568: add vlan support

2007-07-17 Thread Luca Filipozzi
Package: debian-installer
Severity: wishlist

Please consider adding vlan support to debian-installer.  There are
cases (edge cases, admitedly) where machines and switches have been
configured to use vlan tagging.  A reinstall of these machines requires
a network reconfiguration.  vlan support in the installer would avoid
this reconfiguration.  Thanks for reading this far.

-- 
Luca Filipozzi
Linux gives us the power we need to crush those that oppose us. - switchlinux
gpgkey 5A827A2D - A149 97BD 188C 7F29 779E  09C1 3573 32C4 5A82 7A2D


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]