[Solved] trouble getting the right settings for a static IP

I'm not sure of how to best set my static IP connection in Arch.
In Manjaro/Ubuntu/etc. I use the Network Connections App and put in my IP, Subnet mask, Gateway and DNS. When I've tried to do it in the commandline to set up Arch, I get a "cannot make connection" error (or something of that sort) when I put in the gateway.
Relevant info for my connection (with XXX and YY standing in for numbers) - this is what I enter for Manjaro/Ubuntu (and what I attempted to use in the commandline to setup Arch - though I added the subnet mask /24 for the IP):
IP: XXX.YY.37.220
Mask: 255.255.255.0
Gateway: XXX.YY.31.1
The output of "ip route show" in a correctly configured/connecting instance of Manjaro on my system is:
default via XXX.YY.31.1 dev eno1 proto static
XXX.YY.31.1 dev eno1 proto static scope link
XXX.YY.37.0/24 dev eno1 proto kernel scope link src XXX.YY.37.220 metric 1
From the beginner's guide, it seems I should set up netctl?  I'm wondering what the right settings would be for this based on the above?
Last edited by emacsomancer (2014-12-15 15:22:16)

FOllowing the Arch wiki's section on "Persistent configuration on boot using systemd":
I created config file:
/etc/conf.d/net-conf-eno1
address=XXX.YY.37.220
netmask=24
broadcast=XXX.YY.37.255
gateway=XXX.YY.37.1
and created /usr/local/bin/net-up.sh
#!/bin/bash
ip link set dev "$1" up
ip addr add ${address}/${netmask} broadcast ${broadcast} dev "$1"
[[ -z ${gateway} ]] || {
ip route add default via ${gateway}
and /usr/local/bin/net-down.sh
#!/bin/bash
ip addr flush dev "$1"
ip route flush dev "$1"
ip link set dev "$1" down
and /etc/systemd/system/[email protected]
[Unit]
Description=Network connectivity (%i)
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/conf.d/net-conf-%i
ExecStart=/usr/local/bin/net-up.sh %i
ExecStop=/usr/local/bin/net-down.sh %i
[Install]
WantedBy=multi-user.target
when i try to execute systemctl enable network@eno1 it reports:
Error: an inet prefix is expected rather than "/".
I have narrowed this error down to the net-up.sh, as when I execute sudo ./net-up.sh eno1 it reports the same error as above.

Similar Messages

  • How do I get the configuration settings for GPRS mms ect for EE

    Hiya :)
    My son-in-law got a new iphone4s as an upgrade from EE/orange on Tuesday 18th feb 2014
    It was an upgrade for his sim only contract changed to a phone and sim
    The first phone he had was a samsung galaxy s3 mini but he couldn't get used to it as had used his old iphone4 for over 4 years before it died
    The samsung galaxy s3 mini was sent back and a nice shiny iphone4s was sent out instead and he got it on the date up top
    The sim that came with the iPhone keeps saying invalid for some reason?
    But the sim he got with the sg3 mini works but has no configuration settings for the iphone4s in it only for the sg3 mini
    We have tried online looking for the settings for wap/GPRS/mms/edge ect to send via SMS but can't seem to find anywhere that works?
    Can anybody help please?
    His partner (my daughter) is expecting there 2nd baby and he wants these set up ASAP
    He can recieve calls and make calls and do the same with SMS but no Internet/mms ect

    Check out FEBE. <br />
    https://addons.mozilla.org/en-US/firefox/addon/2109/

  • How to improve or get the right colours for my printer

    Hey guys, I have just used an EyeOne to configurate the right colours of my screen. Just that when I use Photoshop or I watch at the pictures, I want to see them as they really are. I've done it, but now I have the second problem. It works for sending pictures, for sending them to print... But my printer(an Epson) prints them too dark and too redish.... But my screen is just perfect.
    Do you know how can I manage to configurate the way to change the colours of my printer with some app or some configurator??
    Thank you very much for your answers.

    Your EyeOne has calibrated the display, but you will also need print profiles.
    First, without a printer profile, you will get the most accurate print by using the printer manufacturers, in you case Epson, inks and papers.
    You can use alternative, but quality inks, and alternative quality papers. Wether using these or Epsons, you will need a print profile.
    The print profile will usually make a much larger difference than just calibrating your display.You will need a different profile for each paper and ink combination you use. Some paper manufacturers supply downloadable profiles, but these will only be accurate if all of the Epson printers of your model have identical characteristics, this is rare, hence the need for custom profiles. Some paper manufacturers will supply you with a custom profile free, or you simply download the target image, print following their instructions precisley and post the printed target to them for a custom profile. They then email the profile back to you. There are also commercial companies that do this to. Another option is to purchase a calibrator that profiles your display and printer, but that tends to be expensive. Look here at various options here from just one of many suppliers http://spyder.datacolor.com/products.php.
    Look here for options available from a typical paper supplier in the UK. http://www.permajet.com/30/ICC_Profiles.html. Then read these sections relating to the previous link.
    What are ICC Profiles and why do I need them? CLICK HERE
    What is the difference between a GENERIC and a CUSTOM ICC Profile? CLICK HERE
    That should give you and idea of what needs undertaking for print colour accuracy.

  • Trouble finding the right driver for my Epson R1800 for my Imac

    No mattter what download I install (as well as the disc enclosed with Imac) I have been unable to get the exact printer driver description in the draw down window of the printer setup utility. Is there one available for the Epson Stylus Photo R1800 or not?
    Imac   Mac OS X (10.4.9)  

    I also have an Epson printer. You indicated that you already downloaded an updated driver from Epson's website. Did you also downloaded the one(s) that came w/the Epson CD? However, you did not mention that you repaired permissions & restarted after the installation.
    If the above was not done, then I suggest that you do so. Hopefully, this should solve your problem.
    I just checked the Epson folder in my HD & your model printer is NOT listed among them.

  • Tiger 10.4.11 vs Leopard 10.5 did I get the right one for me?

    I recently installed Tiger 10.4.11 ..waiting for iLife 05 and Office Mac S&T Edition to arrive.
    I chose Tiger 10.4 over Leopard 10.5 b/c of Leopard's recommended processor speed of 867 ...mine is 667.
    I now realize that some folks in the forum are running Leopard 10.5.
    Did I choose wisely or not? Not sure what I am missing.
    TIA, Barb

    I'm half asleep and can't think of the name right now, but 10.5 (and up) has built-in VNC so you can use remote desktop (see/use another computer's desktop just like you're on that other computer) without any additional software. With 10.4 I have to use a third-party app (was using ChickenoftheVNC, now using JollysFastVNC), which is free, but not very fast and not bug-free. In any case, it allows me to be on any one of my computers and work on/from a different one, just like I'm on the other one (ok, I'm not sure I can even make sense of that ).

  • How do I pick the right settings for Premiere Elements 10?

    I have Adobe Premiere Elements 10 and want to edit videos that I had received from a company that transferred my Super 8 home videos to digital format and saved them on an external hard drive. They have avi file extension, Apple Motion JPEG A codec , frame size: 1920 x 1080, pixel aspect ratio: 16:9, Frames per second: 29.97. I am not sure what settings to select for the best picture quality. I have tried some and the quality is poor. I need help. Thanks

    Unfortunately, you can not edit MJPEG videos in Premiere Elements, Editer.
    Actually, some people can. It depends on your machine. But for the most part, it won't go -- and there's no guarantee that even installing that codec will make it. (But you can try. Just install your camera's software -- which sometimes works.)
    The wisest solution is to convert the file to a DV-AVI using a program like MPEG Streamclip, as discussed in this FAQ.
    http://forums.adobe.com/thread/415317

  • In Dreamweaver 2014.1 how do I get the vertical settings for split view?

    In split view, I want the code window to appear left of the design window as I had it set up in the previous version. I cannot find a place in preferences to do that. Help. I like the code window to the left and properties below the design window.

    No I cannot. I've tried to drag the coding window and it seems to be immoveable. I read the reference. It does not answer my question nor do any of the linked articles connected to it. I can float the property window and the other windows just fine and move them where I need them, however the code window in split view goes nowhere. When I have multiple file windows open in tabs and drag one of them the code view stuck at the bottom moves with it.

  • What are the correct settings for the Canon 5D mark II in FCP 7 ?

    I am shooting full HD at 23s97 fps.. tried making a preset for the Canon but when I import fils FCP always wants to change to appropriate settings for this file type but doesn't tell me what that is...
    (latest firmware installed)
    Please, can someone provide all the correct settings for me?
    And also, why doesn't the camera show up on the desktop/in the menus when attached to the mac? I have ro use EOS utility every time I want to get anything off of the camera... and FCP doesn't see it either. That's just not right - FCP MUST recognise my camera!! : (
    Please help - I don't want to start editing until I have the right settings for this footage.
    Thanks
    Jim

    Welcome to the Boards
    Not sure what you mean with the following, looks like a word dropped?
    I have ro use EOS utility every time I want to get anything off of the camera...
    Anyway, some more specs on your system could help point where the issue is. With the new Plug-In by Canon you can Log & Transfer from the Flash Card (not sure how you connected the camera.) Alternatively you could just drag the files in (but make sure to keep all files such as THM in case you use Log and Transfer later.)
    Generally it is best to transcode to Pro Res to be able to work with the files in Final Cut. (Log & Transfer should do that, or using Compressor/Mpeg Streamclip.)
    It (Final Cut) is probably changing the timeline to match the codec, or depending on your last preset used, just switching things around. In other words if you were editing in DV and had a set up for that, new sequences would default to that and if you try to ad anything else you will get the message.
    Take a look at the search over there -> to look for the Canon 5D threads for some more info.
    What I would do is just pull one of the clips in to start and look at what the sequence settings are aftr Final Cut changes them for you - they should be fine generally, though you will want to change Codecs to Pro Res.
    I like just batch conversion of all my clips from the 5D Markk II and then work from there. (I do not hook up the camera to the computer, just use a card reader.)

  • My Imac needs a new hard drive. Can anyone help ensure I get the right one?

    I have an Imac from around 2008-09. IMac8,1
    It's running Mac Os X ver. 10.5.8 and has the stock hard drive in it.
    2gb ram
    Running a 2.8ghz Intel Core 2 Duo and I think has like 250 gb
    I'd like to get something bigger and also upgrade the operating system.  Don't need multiple TB's nor can I afford it but want to ensure i get the right thing for my needs.
    It won't install adobe photoshop 6 because operating system is too old but don't want to spend money on new operating system with hard drive that keeps failing.
    Error code: 4hdd/11/40000000 SATA (0,0) !
    Got this error code about a year ago.  downloaded a manual fan program that has helped but every third day or so it crashes and when i try reboot i get the dreaded question mark.  usually if i let it rest for an hour or two it fires up but i don't want to risk anymore.
    any help greatly appreciated.
    cheers

    I suspect a failed HD, in that case I'd recommend Apple Hardware Test in Extended Mode at least 3x. You will need the original install discs that shipped with the computer, if you do not have them any longer you will need to order a replacement set from Apple by calling AppleCare. You will need a credit card and the serial number of the machine. The cost should be nominal.

  • Do i have the right equipment for CCNA-Wireless?

    Hello community i am Adan Ramirez, an aspiring Cisco Tech, and I'm trying to get the right equipment for the ccna wireless.
    Here is my shopping list:
    1. 2 Cisco LWAP 1252
    3. NME-WLC6-K9 module card
    Here is what i already have at home:
    1. 1841(2x) - iOS 12.4(24)
    2. 2811(2x) - iOS 15.something something...
    3. 3560 - iOS 15.something something
    4. 2960 - iOS 15.something something 
    Problem:  I don't know if the NME needs the latest iOS, the one i saw on eBay says it's version 4.2 something something.  I don't have three thousand dollars to buy a brand new module with iOS 7.0 or $ 12,000 to buy a 5500 WLC.  I'm a broke college student T_T, help!
    and thanks!

    Hi,
    This is sufficient for your CCNA wireless studies. Probably I would add a VM which can run WCS.
    If you really need a WLC, you can buy 4400 series controller (can run upto 7.0.x) for ~200-300 USD. This is the version tested in CCIEv2.0 lab exam as well.
    This is the Cisco forum you should follow for this CCNA-Wireless studies
    https://learningnetwork.cisco.com/groups/ccna-wireless-study-group
    Good luck
    HTH
    Rasika
    **** Pls rate all useful responses ****

  • Getting the right nvidia drivers?/gnome3 problems (which are realated)

    I am having trouble getting the correct drivers for my graphics card, and problems with gnome3. before I wright anymore I would like to say that I have seen and heard about "the arch way" and that moderators can be unnecessarily rude sometimes, I hope that these things aren't true and that you are a nice group of people. (Which is what I have seen so-far
    I have a dell optiplex gx620 with a ******* graphics card
    I went through the beginners guide on the arch wiki it told me to install several different drivers, I installed this driver:  xf86-video-nouveau (along with gnome3)
    I changed my .xinitrc and typed in startx
    gnome3 put me into failsafe mode
    I tried the nouveau-dri drivers
    when I had rebooted and ran startx it gave me the error that it had crashed so I went back into text mode the text on the screen said something about eth0 not being connected, so I ran dhcpdc etho0 and then tried startx again, and it didn't fail.
    why would being connected to the internet have anything to do with gnome3 working or not? (I realize that this is a gnome problem, but if anybody could help then it would be great)
    it was still in fallback mode.
    my question is, how do I get gnome3 to work?
    thank you in advance
    -Jared

    According to this link:
    http://www.dell.com/downloads/global/pr … 620_en.pdf
    You have either an Intel integrated graphics solution or ATI.  Neither should have Nouveau.  It is very, very likely you have a dedicated GPU card.  But, to help, the model and make of the graphics solution will really be needed.

  • What are the best settings for a slideshow on DVD

    So I'm looking at this helpful article -- http://support.apple.com/kb/HT3781 -- and wondering: if I want to make a slideshow to burn on a DVD to show on a large-screen HDTV, what would be the right settings for Photo Preview and Photo Quality?  Thanks!

    Mark, yes a DVD will play back on a HDTV, just the quality will not match the capability of the playback device. This is certainly the easiest approach though.
    As the article you referenced says, ensuring that your previews are set to a larger pixel dimension than your required output will ensure maximum quality, given that you will more than likely have movement on the images in the slide show I would suggest going with pixel dimensions that are at least 1920px.
    Let us know how you go.
    Tony

  • When i connect my ipad2 to iTune, it show "iTunes could not check for an update to the carrier settings for your iPad. An unknown error occured (1651)". What should i do to solve this problem? My iTune version is 10.1.4.10 and my ipad is 4.3.5.

    When i connect my ipad2 to iTune, it show "iTunes could not check for an update to the carrier settings for your iPad. An unknown error occured (1651)". What should i do to solve this problem? My iTune version is 10.1.4.10 and my ipad is 4.3.5.

    If you have iOS 7.1 then you must be a developer, so you should be posting in the developer forums : https://devforums.apple.com/index.jspa

  • I have lost the export settings for FCP7. How can I get these back?

    I accidentally threw a folder in the trash. I got a lot of stuff back using Data Rescue, but not everything.
    I have lost the export settings for FCP7. How and Can I get these back? tia

    Sorry for the delay in response. It sounds like you have somehow deleted your quicktime ProKit with the codecs by what ever process you were trying to restore  you trashed files.
    Go to the Apple Menu > System Updates and see if the updater sees a need to install them.
    If this doesn't work - it might be
    the best thing to do would be to get FCS Remover from Digital Rebellion (free)
    http://www.digitalrebellion.com/fcsremover/
    and try to remove all traces of your corrupt installation and then do a clean install from your original disks, followed by updates to restore the new ProKit codecs.
    If your system has been corrupted by whatever you did, it might be best to wipe the drive and start from scratch - but understood this is not a pleasant choice.
    Other posters may have different or better suggestions. The FCS Pro Apps require a lot of files and file structure that may or may not be apparent, and were never drag and drop installable. They always needed to be installed with the proper installer.
    MtD

  • After purchasing the Photoshop cs6 update for my Mac, the download page says for "Windows". Will this still work? How do I get the right download without purchasing again

    After purchasing the Photoshop cs6 update for my Mac, the download page says for "Windows". Will this still work? How do I get the right download without purchasing again?

    no.
    you need the update for a mac, not windows.
    Product updates

Maybe you are looking for

  • GL assign to fsv not reflecting Financial Statments

    Hi GL Code is assigned to  Financial Statement Version . in report   S_ALR_87012284  ( Financial Statment Version - Pbcl ) with same FSB,  for above GL code transactions are  showing in "Not Assigned"     . is there problem in FI Document or else ple

  • Wrong speech agent selected

    Hi all, I feel sort of stupid posting this, but here goes. In converting text to speech, I accidentally selected the "don't show this again" box in the speech agent selection dialog box. Only problem is, it was pointed to Kate, and I prefer Paul. Now

  • Determining if RAC installed (as non-DBA user)

    We would like to be able to detect, when our application is installed, what version of Oracle we are running on. The product_component_version view seems to give us what we need, but not having a RAC environment in-house, I can't verify if that infor

  • Software Version 2.1.1

    After I connected my Touch this morning iTunes updated the software to 2.1.1 What are the changes in this version? - I could not find any information Thanks in advance

  • Is it possible to move up or down the email account I've created in left column of TB?

    I've created different email accounts in my TB and I'would like to change the order, for example move Yahoo over gmail. Is it possible? thanks