[SOLVED] Help with going from dhcp to static ip

So right now I'm using dhcp on my arch box, but for personal reasons (file server, print server, etc...) I'd like to assign a static ip to the machine.
I've noticed that when I get a ip via dhcp, there are different broadcast ips, and frankly, I'm just getting confused. I was wondering if there was a way (probably) to setup a static ip from setting that are retrieved via dhcp.
I know that there's a wiki page as to how to set up a static ip, but there are still some things that I don't understand, so I'd like to know what information I'd need to get from dhcp in order to set up a static ip (essentially the same ip, but it would remain the same)
I will blatantly admit that networking is not one of my strong suites...
Last edited by ZeroTruths (2009-09-03 01:20:29)

When you have a dhcp address, use ifconfig to identify the address, broadcast address, and subnet mask, and use route to identify your default gateway. All these should be added to the rc.conf NETWORKING section - an example is provided. Make a note of the nameserver address that was automatically added to /etc/resolv.conf under dhcp - it should remain there.
Before you do all that, you may have the option of using a dhcp fixed lease instead i.e. continue to use dhcp, but configure it to provide the same address to your arch box every time. That would depend on the capabilities of the system that provides the dhcp service.

Similar Messages

  • Need help with going from the trial version to full version

    I am currently tring to download the trail version and having problems, but going to school and with my financial aid I bought the full version, but I can only get trial version.

    Hi cowboy1977,
    The trial version is as good as the full version the only difference being the no. of days of usage.
    The trial software is good for 30 days only. If you bought the full version, simply enter the serial number in the trial version and activate it to convert it into full version.
    You can launch the trial version of the software and it would prompt you to enter the serial number else, you can go to the 'Help' menu and select 'Activate' and then when prompted enter the serial number.

  • Help with going from Adobe 6.0 to Adobe 9.0

    I have Adobe Acrobat 6.0 and Adobe Reader 9.0 - however, whenever I need Adobe, Adobe 6.0 is the default - any idea how to get programs to look at Adboe Reader 9.0 first?

    Hi,
    Try this:
    Click on any PDF file
    Go to properties
    Then click change
    And select, or, browse Adobe Acrobat Reader 9.0
    Then click OK, to Apply
    Phillip

  • Please i need help with switch from the us store to malaysian store how i can switch

    Please i need help with switch from the us store to malaysian store how i can switch

    Click here and follow the instructions to change the iTunes Store country.
    (82303)

  • HT1766 I need help with restore from bachup

    I NEED HELP WITH MY IPAD RESTORE FROM BACKUP

    This is the iPod touch forum and you are not providing any information to help you.

  • IP is from dhcp or static?

    Is there any way to find the ip assigned is from dhcp server or it assigned permanently?
    Thanks

    Hello.
    Under Solaris 9 if you type "ifconfig -a" an additional flag "DHCP" is shown if the IP address came from a DHCP server.
    This is the case because in this case additonal handling (e.g. lease renewal) must be done...
    Martin

  • Help with download from computer to ipod touch

    Is there a way to sync music that I saved on my laptop to my daughters ipod without having to pay 25.00 monthly it is just two cds i bought for her for christmas i wouldn't use the icloud match enough to justify Thank you

    See if this helps:
    iTunes 11 for Windows: Syncing overview
    If the iPod does not apper in iTunes
    Try
    iOS: Device not recognized in iTunes for Windows
    I would start with               
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or               
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    New cable and different USB port?
    Runs this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Try on another computer to help determine if computer or iPod problem

  • Can you help me with going from iPad to iPad2?

    Two questions, actually: 1) how to migrate everything on my iPad to my iPad2 when I get it, and 2) how to delete everything on my iPad so I can give it/sell it to someone else. Thanks!

    You should make sure that all purchases are copied to your computer's iTunes (with the iPad connected do File > Transfer Purchases). Media (music, films, tv shows) can only be downloaded from iTunes once so you need to make sure that any content that you still want is also on your computer before you give away/sell the iPad. Apps and iBooks can be re-downloaded so there is not the same risk of losing them.
    If you backup your current iPad via iTunes then you can then use that backup to restore onto the new iPad2.
    To remove all your content from the current iPad then Settings > General > Reset > Erase all content and settings : (from the manual) +This resets all iPad settings to their original values and erases all your information and media+

  • Ipv4 from dhcp, ipv6 static on single interface eth0

    Hi,
    pls help me understand or solve my problem with my network setup.
    I had ipv4 ip address assigned dynamically and ipv6 set statically, both via netcfg and everything worked without problem.
    This is my netcfg config:
    CONNECTION='ethernet'
    DESCRIPTION='A basic dhcp ethernet connection using iproute'
    INTERFACE='eth0'
    IP='dhcp'
    PRE_UP='ethtool -s eth0 wol g'
    PRE_DOWN='ethtool -s eth0 wol g'
    ## for IPv6 autoconfiguration
    #IP6='stateless'
    ## for DHCPv6
    IP6='static'
    ADDR6=(2002:54f2:xxxx:1::2/64)
    GATEWAY6=2002:54f2:xxxx:1::1
    But someday I received error when booting up and also when I try to start profile manualy:
    /etc/rc.d/net-profiles start
    :: eth0 up
    RTNETLINK answers: File exists
    Adding gateway 2002:54f2:xxxx:1::1 failed
    No profile started.
    I found that I can't have two gateways on one interface, but until now there's no problem.
    When I disabled GATEWAY6 line from config, eth0 profile can be started but ipv6 connectivity didn't works.
    I tried set ipv6 to stateless that works, but after some time not more that 5min network connection resets and after recovery in couple of seconds only ipv4 works.
    Where's a problem? What can I do to achieve same setup I had before some update last week?
    Thanks

    houmles wrote:I found that I can't have two gateways on one interface, but until now there's no problem.
    I suspect it's a problem with that; I've noticed this problem as well.
    When trying to add multiple default gateways with iproute2 (ie, `ip r a default via xxx:xxx:xxx::xxxx`) it errors with the error you've mentioned. I'm not sure if this is a kernel bug, iproute2 bug, or not a bug at all.
    Having multiple default IPv4 gateways works fine.
    I believe netcfg doesn't check for an existing gateway and delete it first (or use `ip r r` instead or `ip r a`) before adding the one; but I haven't checked the code so I could be wrong.
    EDIT:
    OK, I couldn't resist looking at the code, and it indeed does a 'dumb' addition of the gateway:
    112 if [[ -n "$GATEWAY" ]]; then
    113 report_debug ethernet_iproute_up ip route add default via "$GATEWAY" dev "$INTERFACE"
    114 if ! ip route add default via "$GATEWAY" dev "$INTERFACE"; then
    115 report_iproute "Adding gateway $GATEWAY failed"
    116 fi
    117 fi
    I'm looking at making a patch now. Patch and bug report: https://bugs.archlinux.org/task/29480
    Last edited by fukawi2 (2012-04-16 01:00:09)

  • In need of help with Shockwave from experts and community please.

    I have seen posts where people are having the same issue with Chrome, but I am using Windows 8 playing my FB games using Firefox. I have filled out their little "box" that they ask me to about 10 times and I am over it. I went to see if my Adobe SW was installed right, but it doesn't show anything moving. The strange thing is...I had already uninstalled it and reinstalled it the day before. I do have screen shots that I would like to share, and I am asking if anyone else is getting this same error.
    ***What happens is I will be playing my game and then "poof" out of nowhere the 2 tabs I had opened are gone and I am back to my desktop.
    ***Another issue that comes up all the time, and then the tabs will close, is that a small rectangular box will come up and it goes away so fast you don't get a chance to read it.
    But as I said I have screen shots.
    Everything on my computer is up to date, my husband works in the IT field and he can build a computer from the guts up. That's how I know it is not on my end. Y'all don't know how much I really do appreciate the fact that you took the time to read my post and any suggestions on how to solve this issue.
    Have a very great day,
    snoopyfan6200
       ********** As you see I am a Huge Snoopy Fan. I have about 450 items in my collection.  And the 6/2/00....well that was the day my Dad passed away.********

    Hi,
    This is a forum for Adobe FormsCentral. Please post your questions on Flash Player forum at http://forums.adobe.com/community/flashplayer. I believe you'll get help over there.
    Thanks,
    Wenlan

  • Need help with client identifier & DHCP

    I have created static hosts for all of my clients (interim measure until I get DNS servers built and running) on an SG300-20. I defined all of these allocations using MAC addresses.
    However, several of my clients (1 Windows 7 workstation, 2 FreeNAS / FreeBSD storage servers and 1 HP color Laserjet printer) are still being dynamically assigned other addresses based on client identifier.
    In all four cases, the client identifier being used by the switch is the MAC address with a leading "01" octet attached.
    For example, my workstation has a MAC address of 00:10:18:E3:64:2F, which is defined as a static host based on that MAC address. The switch is using a client identifier of 01:00:10:18:E3:64:2F.
    I am sure that I need to be entering a client identifier in the static host instead of the MAC address. From the discussions that I have read on here, that should look something like 0100.1018.e364.2f, but the static hosts GUI will not accept that. It won't allow me to type periods at all, and it won't accept 0100:1018:e364:2f, so I am clearly not entering this correctly.
    Any help on how to resolve this / how the GUI is expecting the client identifier to be formatted?
    Thanks!

    To me that's a bug. You can't know how to enter a host into the static bind table until you know whether it wil provide a client id. Like you said if you enter a MAC and comes up with a client id it doesn't recieve the assigned ip, if you assume the client id based on 01+MAC and it doesn't end up presenting a client id again the host doesn't get the assigned ip.
    For years with dumber switches I could take a list of MACs and enter them on my switches so that when a device came online if their default was dhcp it would obtain the address I wanted and I'd know where to find it. Now with these "smarter" switches I have to work harder so in some regards these switches are dumber than an Best Buy off the shelf switch.
    You should be able to fill in the MAC value and the switch should auto-complete the client id assuming a 01 prefix that cna be changed. Both values should be editable and maintained in their own tables for each host entry.

  • Need help with upgrade from Adobe Creative Suite to PS CS4

    My old laptop with Photoshop on it crashed and I ended up purchasing a new laptop.
    I'm trying to reload my PS CS4.  I am using an upgrade from an educational Adobe Creative Suite Premium to the CS4 and when I loaded it on my old laptop I had to get installation help through customer service, but now customer service will not help me since it is CS4.
    When installing the upgrade, it tell me to select the product I already own.  I own the educational full creative suite, but am only upgrading the Photoshop.  I chose Photoshop CS and tried entering the serial number for the suite.  It tells me that the serial number doesn't match the product chosen.  Of course the only products I'm allowed to choose from is Photoshop CS, CS2, or CS3 and not Creative Suite Premium.
    The other serial numbers on this CS is Golive CO and Pagemaker Plug-in.
    I was told there are Adobe customer service reps here on the forum, please tell me what it was I need to do to get my Photoshop installed.
    Thanks

    i wasn't aware that you could get a ps4 at an upgrade price using an older creative suite produect.  i searched online and found this thread (http://forums.adobe.com/thread/476009) which makes it appear that was not a valid upgrade path.
    but, if you're confident that was a valid upgrade path, i'm pretty sure something will need to be done on adobe's end and no amount of manipulation, on your end only, will work.
    your best bet would be to get help in this forum from an adobe staff member like jeff wright who is very knowledgeable and goes out of his way to help adobe customers.  to that end, if i were you, i would start a new thread mentioning his name in your title and in your initial post explaining:
    you have the educational Adobe Creative Suite Premium and purchased a photoshop cs4 upgrade years ago that required adobe support help to install years ago. 
    that worked well until a recent computer problem forced you buy a new laptop and you are now trying to reinstall that ps cs4 and again need support help but have been refused help because cs4 is not current.

  • [SOLVED] Help with updating conky-colors PKGBUILD

    I'm looking to update my PKGBUILD for https://aur.archlinux.org/packages/conky-colors/ to support the latest version.  After getting annoyed with DeviantArt replacing the zips of the package when it is updated upstream, I've decided to pull in specific commits from the git repo instead.  I'm trying to use the ...#commit= option on the source line.  It seems to be building ok but I'm getting the following errors:
    /usr/bin/makepkg: eval: line 2225: unexpected EOF while looking for matching `"'
    /usr/bin/makepkg: eval: line 2226: syntax error: unexpected end of file
    Can anyone give any help as to what may be the cause here.  If i remove the #commit it goes away.  I need to clean up the depends section to remove those that are no longer needed, but I can do that easy enough.
    # Maintainer: Android_808 <android underscore 808 at hotmail dot com>
    # Contributor: Pauline123 <321eniluap at gmail dot com>
    # Contributor: Shanto <shanto at hotmail>
    # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
    pkgname=conky-colors
    _pkgname=conky_colors
    pkgver=9.0
    pkgrel=1
    pkgdesc="An easier way to configure Conky."
    arch=('i686' 'x86_64')
    url="http://gnome-look.org/content/show.php/CONKY-colors?content=92328"
    license=('GPL')
    depends=('pystatgrab' 'ttf-liberation' 'hddtemp' 'curl' 'lm_sensors' 'conky' 'ttf-droid' 'ttf-ubuntu-font-family' 'ttf-ms-fonts')
    makedepends=('perl' 'git')
    optdepends=('conky-lua')
    conflicts=('ttf-openlogos' 'ttf-weather')
    options="!strip"
    install=$pkgname.install
    source=("$pkgname::git+https://github.com/helmuthdu/conky_colors.git#commit=f4b530a94d5f3f73d4c21c4417c51b6011a71b28")
    md5sums=('SKIP')
    build() {
    cd "$srcdir/conky-colors"
    make
    package() {
    cd "$srcdir/conky-colors"
    mkdir -p ${pkgdir}/usr/share
    mkdir -p ${pkgdir}/usr/share/fonts
    mkdir -p ${pkgdir}/usr/bin
    cp -v conky-colors ${pkgdir}/usr/bin
    cp -v -r conkycolors ${pkgdir}/usr/share
    #cp -v -r fonts ${pkgdir}/usr/share/conkycolors
    cp -v -r fonts/conkycolors ${pkgdir}/usr/share/fonts/TTF
    ln -fs /usr/share/conkycolors/bin/conkyTask ${pkgdir}/usr/bin/ct
    #ln -fs /usr/share/conkycolors/fonts/conkycolors ${pkgdir}/usr/share/fonts/
    chmod +x ${pkgdir}/usr/share/conkycolors/scripts/*
    chmod +x ${pkgdir}/usr/share/conkycolors/bin/*
    chmod -R 755 ${pkgdir}/usr/share/conkycolors/
    Last edited by android_808 (2013-11-11 19:33:06)

    I didn't post the install earlier because I've never had an issue with it, been using the same file for several releases of several custom built packages.  The eval: lines posted appear before "Making package: conky-colors 9.0-1 (Mon 11 Nov 18:58:03 GMT 2013)" but doesn't prevent it from building.  Just don't get what's causing them.
    Install files "s have matching end ", brackets have brackets. namcap PKGBUILD gave no error.
    PKGBUILD ' has matching '
                     " has matching "
                     ( has matching )

  • [Solved]Help with printer

    Hi!
    I`m really frustrated... I never thought that installing printer can be such a paint in the rear...
    Ok, now back to the point:
    I`m trying to set up my Deskjet 930c on 32 bit Arch through usb. I did everything that Wiki says: installed
    cups ghostscript gsfonts hplip and net-snmp
    I loaded the module
    modprobe usblp
    and i see the  that the printer is connected alright
    [andy@andy ~]$ dmesg
    usb 6-1: new full speed USB device using uhci_hcd and address 3
    usb 6-1: configuration #1 chosen from 1 choice
    usblp1: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1204
    I added the cups and usblp to rc.conf to make sure it is being loaded on startup. I rebooted, and then opened http://localhost:631 in firefox. It allows me to setup the printer, but when it comes to printing the test page, adding users or removing printers i get a Firefox message:
    Port Restricted for Security Reasons
    This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.
    The requested address specified a port (e.g. "mozilla.org:80" for port 80 on mozilla.org) normally used for purposes other than Web browsing. The browser has canceled the request for your protection and security.
    When i run gnome-cups-manager i see an error in terminal:
    ** (gnome-cups-manager:13143): WARNING **: IPP request failed with status 1030
    , and when trying to print a test page i get an error:
    Ready: /usr/lib/cups/filter/foomatic-rip-hplip failed
    So i`ve ran
    hp-setup
    and setup my printer. I can than print a test page.
    But when it comes to printing by a usual user, the "print" button in all applications is grayed out/inactive.
    Also hp-toolbox is segfaulting all the time...
    Also, running a system-config-printer says:
    There was an error during the CUPS operation: 'server-error-service-unavailable'.
    The funny thing is... The only way to print something is to print it to a .pdf file first, and than printing that file.
    Any help, please?...
    Last edited by K0tuk (2009-05-02 11:19:12)

    skottish wrote:
    Do you mean this message screen?
    http://bbs.archlinux.org/viewtopic.php?id=70775
    If that thread doesn't solve your problem, then there are a bunch more CUPS threads that are less than two weeks old that will.
    omg! huge thanks, that completely solved my problem... i wasn`t actually concentrating on the firefox error, more on the cups errors that followed... thanks again!

  • Need help with calc from tables

    I have a table that contains query #1 and have another table
    that contains a field that needs to use the result of the cfset in
    another calc.
    The new calc in query #2 needs to divide the Num_Checks_Trans
    from query #1 by the by the Weekly_Hours_Recorded in query #2.
    Can anyone help me figure this out?
    <b>1.</b>
    <cfquery name="QryEmployeeDetail"
    datasource="NBProdReports">
    SELECT TblContractInfo_SubMenuTable.User_ID,
    TblContractInfo_SubMenuTable.Contract_Number,
    TblContractInfo_SubMenuTable.Transaction_Type,
    TblContractInfo_SubMenuTable.Num_Checks_Trans, TblTransType.Value,
    TblContractInfo_SubMenuTable.Notes, TblMasterTrans.Date_Opened
    from TblContractInfo_SubMenuTable, TblMasterTrans,
    TblTransType
    WHERE TblContractInfo_SubMenuTable.Task_Number =
    TblMasterTrans.Task_Number
    and TblTransType.Transaction_Type =
    TblContractInfo_SubMenuTable.Transaction_Type
    And TblMasterTrans.Date_Opened BETWEEN
    #createODBCDate(DED_startDate)# AND #createODBCDate(DED_endDate)#
    order BY TblMasterTrans.Date_Opened ASC,
    TblContractInfo_SubMenuTable.User_id ASC
    </cfquery>
    <cfset totalTrans = 0 />
    <cfloop query="QryEmployeeDetail">
    <cfset totalTrans = totalTrans +
    (QryEmployeeDetail.Num_Checks_Trans * QryEmployeeDetail.Value)
    /></cfloop>
    Text
    2.
    <cfquery name="QryEmployeeDetail"
    datasource="NBProdReports">
    SELECT TblContractInfo_SubMenuTable.User_ID,
    TblContractInfo_SubMenuTable.Contract_Number,
    TblContractInfo_SubMenuTable.Transaction_Type,
    TblContractInfo_SubMenuTable.Num_Checks_Trans, TblTransType.Value,
    TblContractInfo_SubMenuTable.Notes, TblMasterTrans.Date_Opened
    from TblContractInfo_SubMenuTable, TblMasterTrans,
    TblTransType
    WHERE TblContractInfo_SubMenuTable.Task_Number =
    TblMasterTrans.Task_Number
    and TblTransType.Transaction_Type =
    TblContractInfo_SubMenuTable.Transaction_Type
    And TblMasterTrans.Date_Opened BETWEEN
    #createODBCDate(DED_startDate)# AND #createODBCDate(DED_endDate)#
    order BY TblMasterTrans.Date_Opened ASC,
    TblContractInfo_SubMenuTable.User_id ASC
    </cfquery>

    This can be rewritten as a single query which is good for a
    number of reasons, including we only make one trip to the database
    and we do our calculations on the SQL backend, which is faster than
    doing them in CFML.
    What you're going to want to do is SUM() the total
    transaction values by having a column like SUM(Num_Checks_Trans *
    Value) AS totalTrans. To get the value for your other column you
    can calculate that like Num_Checks_Trans / Weekly_Hours_Recorded. I
    didn't see the latter in either of your queries so I'm not sure
    where it comes from, but you can definitely use it in your SELECT
    clause when calculating.
    Since SUM() is an aggregate function, you'll have to use a
    GROUP BY clause to make it work. You'll have to GROUP BY each
    column in the SELECT statement. If some of the columns have
    differing data that you won't want to use in the GROUP, you can
    always use a nested subquery as part of your FROM clause and then
    join that to the original queries with the totals.
    I hope that helps.
    - William

Maybe you are looking for

  • Add button to BP subscreen Identification Numbers

    Hi gurus, in transaction BP there is a tab called Identification. On this tab a subscreen area Identification Numbers exists which contains a screen (SAPLBUD0 - 1520). We want some added logic on the screen by means of a new button. I think it is not

  • Remote Access Media Not Working correctly

    I just installed the newly released Media Plugin for Essentials Server 2012 R2. I was really hoping this would solve the problems I had with first version of Essentials 2012. The media worked fine on Windows Home Server 2011, but I've never been able

  • HT204266 Money has been wrongly taken off my account and i need to have it refunded. How do i claim it back?

    I have been charged £6.99 for a stupid app and i need the claim it back. I have tried all the possible F&Q and followed the steps but dont get anywhere.

  • Installing Desktop Application fails

    Hi, Interesting web app. Very clean interface. Good functionality. I tried the "Install Desktop App" link. It prompts that it needs to download Adobe Air and then after the progress bar is done it reports that an error was found while downloading and

  • Internal drive failure

    I have an old Mac G4 with 3 120G internal drives installed. One of them is failing and needs to be removed from the machine. Here's the dumb question... how can I tell which one it is? Disk Utility and Disk Warrior report the same (serial?) number fo