Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-13-2011, 03:06 AM   #1
LQ Newbie
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Question Vlan - vconfig

I've succefully compile kernel 2.6.35 to a imx28 target and want to test 8021q feature.

I found some documentation on creating vlan but I'am misses vconfig commands.

Me guess it that I'am missing a software package?

Last edited by codefix; 04-13-2011 at 03:10 AM.
Old 04-17-2011, 05:29 PM   #2
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 184

Rep: Reputation: 25
it would help to know what distribution you are using

but as a fast fix, you could build the sources from this list of instructions

mkdir /tmp/vlan
cd /tmp/vlan
tar xf vlan.1.9.tar.bz2
make clean
make vconfig

(you can use the vconfig from here, or if you feel sure just use the next to lines also
to install them)
cp vconfig /sbin
cp vconfig.8 /usr/share/man/man8/ (check if the other pages exist there)
Old 04-17-2011, 05:57 PM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
The January 2011 issue of Linux Journal has an article on VLANs. The pdf is available now on their site. They did reference the documentation they found very useful in preparing the article.
Old 04-22-2011, 03:17 PM   #4
LQ Newbie
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Using distribution from Freescale for imx28 embedded target.

The i.MX Linux port is based on the standard Linux kernel. The kernel supports most of the features
available in many modern embedded OSs such as:
• Process and thread management
• Memory management (memory mapping, allocation/deallocation, MMU, and L1/L2 cache
• Resource management (interrupts)
• Power management
• File systems (VFS, cramfs, ext2, ramfs, NFS, devfs, JFFS2, FAT, UBIFS)
• Linux Device Driver model
• Standardized APIs
• Networking stacks
ARM Linux Kernel customization to support each platform includes a custom kernel configuration and
MSL implementation.

Kernel Configuration:
For this BSP release, kernel configuration is performed through the Linux Target Image Builder (LTIB).
See the LTIB documentation for details. The configuration settings available on some platforms that are
different from the standard features are as follows:
• Embedded mode
• Module loading/unloading
• ARM9
• Supported file formats: ELF binaries, a.out, and ECOFF
• Block devices: Loopback, Ramdisk
• i.MX internal UART
• File systems: ext2, dev, proc, sysfs, cramfs, ramfs, JFFS2, FAT, pramfs
• Frame buffer
• Kernel debugging
• Automatic kernel module loading
• Power management
• Memory Technology Device (MTD) support
• USB Host/device multiplexing
• Unsorted Block Images (UBI) support
• Flash Translation Layer (FTL)
• CPU frequency scaling
Old 04-23-2011, 06:20 AM   #5
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 184

Rep: Reputation: 25
For an embedded system you will have to use a cross compiler, but I don't expect this
to be very different that building other software for this platform.

you the source I mentioned before. It is not the original since that seems to exist no longer.
But I just tried and building vconfig on my machine from vconfig.c seems to work since I created a vlan with it.

gcc -o vconfig vconfig.c

So I think you can try to use you crosscompilation toolchain in a similar way to create the program
vconfig from this single c file.

Good luck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Route non-vlan packet to a vlan interface mic.sed Linux - Networking 2 04-23-2010 03:39 AM
Vconfig + Zero vlan id username12 Linux - Networking 0 12-01-2009 11:44 PM
VLan help on Cisco 870 to Linux vlan spide21 Linux - Networking 4 07-30-2009 09:20 AM
VLAN configuration - native VLAN and setting PVID kumarwaiting Linux - Networking 0 07-24-2006 03:51 AM
8021q and vconfig ultrix Linux - Networking 0 08-13-2004 10:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration