Forums

Resolved
0 votes
I tested a bit with vlan's.

https://dl.dropboxusercontent.com/u/4327743/Screen%20Shot%202015-05-16%20at%2010.13.41.png

See the second row i can't delete that interface. How do I delete it?
Saturday, May 16 2015, 08:25 AM
Share this post:

Accepted Answer

Saturday, May 16 2015, 09:28 AM - #Permalink
Resolved
0 votes
Is that ClearOS7?
You could go on a hunt with "updatedb && locate eth0.1003" and also "grep eth0.1003 /etc/* -R", "grep eth0.1003 /usr/clearos/*-R" and "grep eth0.1003 /var/clearos/*-R". The grep command may need tweaking for the ".". Perhaps "egrep 'eth0\.1003' /etc/* -R".
The reply is currently minimized Show
Responses (6)
  • Accepted Answer

    Wednesday, May 20 2015, 01:41 PM - #Permalink
    Resolved
    0 votes
    I think the trick is to do another change through the Webconfig to an existing interface and change it back afterwards. This fires of a clearsync event which tidies up a lot of things in the background. There must be other ways for firing off a relevant clearsync event. but I have not really looked for them as I can't read php code. Restarting the server is a bit of a drastic way of firing off a cleasync event.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 20 2015, 12:50 PM - #Permalink
    Resolved
    0 votes
    I've had a vlan tagged connection for a while now, and as Nick reports the config file will be in sysconfig.
    I've never had a great deal of success with the web gui, and always did the config from the command line.
    After changing anything, I always did a network restart, followed by a firewall restart.
    Sorry for the delayed response, was at the Dayton Hamfest - my other "hobby" :-)
    Cheers
    Paul
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, May 16 2015, 10:15 AM - #Permalink
    Resolved
    0 votes
    btw does anyone it there is any clearos documentation about vlan's. I can't find it...
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, May 16 2015, 09:53 AM - #Permalink
    Resolved
    0 votes
    Okay I searched with:

    updatedb&&locate eth0.1003


    output:

    /var/lib/dhclient/dhclient-eth0.1003.leases
    /var/lib/dhclient/eth0.1003.routers
    /var/lib/syswatch/eth0.1003


    I renamed the files to *.bak and restarted the server. Problem solved!

    Thanks Nick I owe you some beers! Personally I don't drink alcohol so if you don't mind I'll take a Cola... :)
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, May 16 2015, 09:09 AM - #Permalink
    Resolved
    0 votes
    That is the weird part there isn't...
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, May 16 2015, 08:58 AM - #Permalink
    Resolved
    0 votes
    There should be a corresponding ifcfg- file in /etc/sysconfig/network-scripts. You could try deleting it (or moving it elsewhere). You may then have to do a trivial change to either of your other interfaces then change it back to trigger a clearsync event.
    The reply is currently minimized Show
Your Reply