This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Replace NIC in Home Version

I did a search here to be sure I wasn't duplicating a post, but to be honest I didn't read every single post.  If this is a duplicate, feel free to smack me and delete it [[[:)]]]

I ran into a problem with my home ASG.  Seems my internal NIC (ETH0) decided it wanted a vacation.  No big deal right, just replace it and off I go?  Not quite.

I swapped out the 3com NIC for a new Intel (I can get the model number if its important).  After doing so, I assumed that the reboot would allow the system to enable the nic with the old settings.  During the Power on, I noticed that it renamed the NIC to ETH2.  Odd, I thought, but since it found it at boot, it should move all the settings right?  Eh, not so much.  It would seem that it doesn't default the NIC to enabled.  Yay.  

I know just enough about Linux to be dangerous.  I did a quick search on the internet using my wonderful Xoom tablet and found a lot of posts saying to reinstall the ASG firewall.  WHAT?  Are you serious?  A simple NIC replacement requires a reinstall?  That can't be.  Figuring that I would have to reinstall anyway, I didn't see any harm in playing around trying to fix it right?

So I sign on as root, and manage to set an ip and enable the NIC.

ifconfig eth2 up
ifconfig 192.168.1.240 netmask 255.255.255.0

Those two commands allowed me to access Webmin from the 192.168.1.240 address.  Yay, progress I thought.  After looking at the interface settings, I discovered that the original NIC (labeled with "installed by wizard") didn't have a hardware device assigned to it.  So I thought, wow, this is easy, just assign ETH2 to it and I'm in business.  Yeah, no such luck.  I assigned, enabled it, and rebooted.  Nothing.  Couldn't ping or connect.  Back to root [[[:)]]]

Ifconfig confirmed what I was thinking.  ETH2 was still down.  So I ifconfig eth2 up and discovered that it didn't get an IP address.  Well, after attempting several work arounds, I finally discovered one that worked.  Hopefully, my 2 hours of tinkering and this war and peace post will help someone in the future.

1.  Assign the IP address using the commands above (use your IP subnet)
2.  Log into webadmin and change the Internet (External) interface to be a random available IP address in your subnet
3.  Plug the External NIC into your switch.
4.  Log onto the astaro using that interface (IP you just assigned)
5.  Change the Internal Interface settings to the proper configuration, and ENABLE it.  
6.  Save settings
7.  Log off the External interface, and back onto the internal interface (the proper internal IP address)
8.  Change the External interface back to the proper settings (Cable DHCP, PPOE, whatever for you)
9.  Restart the ASG firewall.

Hope this is helpful to someone.  Also, you may need to set a static IP on your PC to the subnet that you use.  

If anyone has a simpler way of doing this, please post.  I am not Linux expert, but I'm sure there has to be an easier way to do this through the console.  Thanks!

JC
Sysadmin, curious hacker [[[:)]]]


This thread was automatically locked due to age.
Parents
  • found a lot of posts saying to reinstall the ASG firewall. WHAT? Are you serious? A simple NIC replacement requires a reinstall? That can't be.
    Reinstall is the only SUPPORTED method of changing certain hardware with Astaro.  Only recently has Astaro gained the ability to even detect a new NIC on boot.  It's not that it can't be done manually, but it is something that may be beyond the average user.
    __________________
    ACE v8/SCA v9.3

    ...still have a v5 install disk in a box somewhere.

    http://xkcd.com
    http://www.tedgoff.com/mb
    http://www.projectcartoon.com/cartoon/1
  • Reinstall is the only SUPPORTED method of changing certain hardware with Astaro.  Only recently has Astaro gained the ability to even detect a new NIC on boot.  It's not that it can't be done manually, but it is something that may be beyond the average user.


    Aaahh.. Well that makes sense since they were all older posts.  

    I still can't believe that noone has ever challenged or questioned the practice of reloading the OS for a hardware change.  I mean can you imagine, everytime you insert a USB thumbdrive you have to reload the computer to get it to recognize?  I know its not the same thing, but the idea behind is [:)]

    Thanks!
Reply
  • Reinstall is the only SUPPORTED method of changing certain hardware with Astaro.  Only recently has Astaro gained the ability to even detect a new NIC on boot.  It's not that it can't be done manually, but it is something that may be beyond the average user.


    Aaahh.. Well that makes sense since they were all older posts.  

    I still can't believe that noone has ever challenged or questioned the practice of reloading the OS for a hardware change.  I mean can you imagine, everytime you insert a USB thumbdrive you have to reload the computer to get it to recognize?  I know its not the same thing, but the idea behind is [:)]

    Thanks!
Children
No Data