How to convert wired network config from /etc/rc.conf to netcfg?

Hi,
I am trying to migrate my wired network configuration from /etc/rc.conf to a netcfg profile.
from /etc/rc.conf
interface=eth0
address=192.168.0.1
netmask=255.255.255.0
gateway=192.168.2.1
/etc/network.d/wired
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.0.1'
GATEWAY='192.168.2.1'
DNS=('192.168.2.1')
NETMASK='255.255.255.0'
The problem is, it does not work: executing "netcfg wired" only gives
:: wired up                 [BUSY] 
> No connection        [FAIL]
EDIT:
NETCFG_DEBUG="yes" netcfg wired
DEBUG: Loading profile wired
DEBUG: Configuring interface eth0
:: wired up                                                                                                                                                                                             [BUSY]
DEBUG: status reported to profile_up as:
DEBUG: Loading profile wired
DEBUG: Configuring interface eth0
DEBUG: ethernet_up bring_interface up eth0
> No connection
DEBUG: profile_up connect failed
                                                                                                                                                                                                        [FAIL]
Any idea how to make it work?
Last edited by Phate666 (2012-10-26 16:09:36)

The rc.conf is correct because there are two diffrent subnets.
My PS3 is connected to my computer via ethernet.
The computer is connected via wifi to the router (ip 192.168.2.1).
When using /etc/rc.d/network to start ethernet everything works perfect, the PS3 can stream video from the computer and access internet.
Last edited by Phate666 (2012-10-26 16:34:47)

Similar Messages

  • How to convert Sequence file documentation from TXT or HTML to MS Word ?

    Hello, I would like to modify a DocSupport.prj which in default generate only TXT or HTML to support MS Wors *.DOC. I have already change the dialog (add *.doc filter..), that was simple. But the major problem is how to convert the output from doc.c to some *.doc file. I found somewhere here Word9 ActiveX  Instrument  for CVI, but I don't understand, how  the CVI gets informations about the steps etc.  from *.seq file for another use. The original code in doc.c is quite hard to understand it quickly. Thanks for help.

    Hi Pet007,
    You should be able to just change the file it saves to's extension to .doc. You'll notice there is a define for txt, you could either change this to doc or if you still want to be able to use txt, create a new define and use this. If you do this you'll need to also add a define above (as you see it defines an integer for each different format type and uses those throughout the program as well). That should give you a good starting point for modifying this code. Unfortunately it is quite extensive to actually accomplish this, or else I could give a step by step guide, but it is rather long. But you should be able to get it working from this. The reason this should work is because Microsoft Word (.doc) files understand plain text just like .txt files. However, if you want to add formatting (fonts, bold text, etc) you would need to use the ActiveX Instrument for CVI which just access the ActiveX server from Microsoft. For more information about ActiveX in CVI visit the following link.
    Using LabWindows/CVI as an ActiveX Automation Controller to Control Automation ServersAlso, this link gives an example of using Excel with CVI through ActiveX, which may give you some useful information about doing this type of thing.
    Embed Excel ActiveX Documents on a CVI PanelFor more information on using Word's ActiveX Server, check out the following Microsoft Portal.
    Word Developer Portal
    Brandon Vasquez | Software Engineer | Integration Services | National Instruments

  • How to setup wired network with G4, MBP and PC

    Sorry to ask a bit of a stupid question here, but I've never had to network machines together so I'm starting from a knowledge level close to zero.
    Situation. Old G4 (733) and new (intel) Mac Book Pro in one room. New PC (Dell) in another room with a wired router connected to internet. PC is also connected to a laserprinter. Hard wire ethernet cable running between the rooms to connect either the G4 or the MBP to the internet. Both the G4 and the MBP have only one ethernet connection. MBP is wireless, as is the PC. The G4 is not.
    First off, I'd like to network the MBP and the G4. I believe ethernet is the best way to do this, but if I do that, how would I then connect to the internet? Would I just have a second router in the Mac room with the 2 Mac's hooked up to it and the other end going back to the router that's connected to the internet? I'd rather stay hard-wired than go wireless if at all possible. I do most of my internet work through the MBP, but some must be done through the G4, ie software updates, as the G4 has a lot more programs on it.
    Second question, how would I then network to the PC in the other room? It would be nice to move files, photographs for instance, between the Macs and the PC. I'd also like to access the lazerprinter which is in that room, connected to the PC.
    Hoping this is a simple question with a simple answer.
    Thanks!

    Hi-
    Welcome to Discussions!
    What you are describing is all possible, but, I am going to assign you some reading. This way, you'll be able to deal with your own particular needs, like a Pro.
    The following will get you up to speed on networks, and various hardware needed:
    http://www.atpm.com/network/setup/index.html
    http://compnetworking.about.com/od/homenetworking/HomeNetworking_Setting_Up_a_HomeNetwork.htm
    http://www.apple.com/support/tiger/network/
    Adding the PC into the network has some special considerations. the following sites have good info for setting up such a network:
    http://www.mac-connect.com/
    http://www.apple.com/business/mac_pc/tutorials.html
    For my needs, I have a switched ethernet network. All computers are connected to the switch, as is the modem, by ethernet cable. This allows computer to computer networking using AppleTalk. With the same cabling and switch, the computers are all able to connect to the internet using DHCP, or, one at a time using PPPoE.
    These are all Mac's, but, with some setting adjustments, a PC can also be placed in a similar network.
    As well, adding a wireless connection for one computer is possible. This would require a wireless base station to be connected to the switch. The wireless capable computer would then be able to enter the network, and vice-versa. Of course, the settings for all the hardware and software are the key. The settings can have variables, depending on what is connected, and how the connections are made. Another variable is your router/modem, and your internet service providers policies on multiple connections.
    Adding the printer depends on the capabilities of the printer. Often, it is only possible to share a printer through a computer. A network capable printer can be connected to the switch, directly, or to a wireless base station, and then shared by all on the network.
    http://www.atpm.com/7.12/networking2.shtml
    http://www.apple.com/support/tiger/network/
    http://www.pcstats.com/articleview.cfm?articleID=1596
    G4AGP(450)Sawtooth, 2ghz PowerLogix, 2gbRAM, 300gbSATA+160gbATA, ATI Radeon 9800   Mac OS X (10.4.8)   Pioneer DVR-109, ExtHD 160gb x2, 23"Cinema Display, Ratoc USB2.0, Nikon Coolscan

  • How to convert .fla to .swf from cli

    I am working on a project where we want to parameterize certain variables of a flash file. The idea is: we create a script which replaces the parameters in the .fla file.
    The question is: How can I convert that file to a .swf using a script or batch file.
    (I know how to do it with CS4 Flash etc., but I do not want to open it at all, the entire process should be executed programatically).
    I have found many software to convert swf to fla, but not the other way around.
    Thanks for your help

    To create an swf from an fla you need software that can compile the fla file, and you can probably guess what that software is.

  • How to convert LV Vi's from LV 7.0 to higher versions or viceversa.​I need the steps.

    For example i have labview 7.0 and i wan to open in LV 8.0 or still higher..so how to convert my VIs to higher versions or vice versa..I need the steps to convert.

    Hello,
    If you want to convert a vi written in LV 7.0 to a higher version (say 8.5) open the vi written in 7.0 with 8.5 and then save the same. (once you save it to 8.5, you can not open it with 7.0 since 8.5 is higher than 7.0. So male sure to back up your 7.0 version files)
    Now to convert a vi from 8.5 to 7.0 (for example) it gets a litle complicated becase you have load the vi in LV8.5 and then select the option File-->Save for Previous version and select the appropriate option (like 8.2, 8.0 or any other that gets populated in the drop down menu).
    Now say that you have selected the option 8.0, Again the vi saved in 8.0 and follow the same procedure to save it to 7.0 version of labVIEW.
    The reason i said it gets complicated becasue you must have installed all the version of labVIEW  (in the above case its LV 8.0) for a sucessful downgrade.
    Hope this helps you out
    Guru
    Regards
    Guru (CLA)

  • How to convert the date time from MM-DD-YYYThh:mm:ss to YYYY-MM-DDThh:mm:ss format

    Hi All,
    I have a requirement in my project like to convert the date time from one format to another.my situation is like to convert the date time from MM-DD-YYYThh:mm:ss to YYYY-MM-DDThh:mm:ss format. I am using the soa suite 11.1.1.6.
    Can any one suggest me how to convert in the BPEL transformation.
    Thanks,
    Sanju.

    Hi Sanju,
    Store the date to be converted into a variable viz. dateVar. Now, process an expression in assign as: xp20:format-dateTime($dateVar,'[Y0001]-[M01]-[D01] [h]:[m01]:[s01]').
    Regards

  • How to convert chinese letlers received from a device to understandable information?

    Hello,
    I would like to read from a sound level meter, I'm using VISA functions, but when I run the VI at first the information received is in chinese and I didn't find how to convert it so as to be able to read an understandable data.
    What can I do to read properly the data sent by the sound level meter?
    Here is a photo of the problem and the VI I conceived.
    Thank you in advance for your help.
    Pièces jointes :
    communication série RS232 avec le sonomètre.vi ‏33 KB

    Hello Yasmine,
    Thank you for posting.
    Can you post a photo of the issue. Have you tried to change the language of your instrument ?
    Regards,
    Isabelle G.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • How to hide a network resource from the Finder sidebar?

    Hi everyone,
    I'd like to hide a network drive from my Finder sidebar.
    Googling around, I only found how to hide all of them, but nothing about a specific one...
    Could anyone help me getting the proper Terminal commands?
    Thanks

    It didn't work It seems I can't drag a network device out of the sidebar... I think I need some Terminal commands, but I'm not able to write them myself.
    Thanks anyway for your reply

  • Override CFLAGS and CXFLAGS from /etc/makepkg.conf [solved]

    This might be a stupid question, but here goes: if I redefine variables such as CFLAGS and CXXFLAGS from within a PKGBUILD, any subsequent make would use the new ones rather than the ones defined in /etc/makepkg.conf ...right?  I'm assuming that makepkg reads them once when the user invokes it.
    Thanks.
    Last edited by graysky (2011-01-15 11:58:58)

    Thanks.  I looked at /usr/bin/makepkg and I believe this is the case, but I don't know of a way to check after I compile them.  Is there some place I can look within the final NAME.tar.xz to see which CFLAGS were used?  (Again, I think the answer here is "no").

  • Cannot set locale (ignored from /etc/locale.conf)

    I just installed Arch on my new machine and I wrote:
    ==> /etc/locale.conf
    LANG=es_CL.utf-8
    # LANG=es_CL.UTF-8 (I've tried with both).
    after uncommenting it on /etc/locale.gen and running # locale-gen
    (I basically followed every step in the wiki).
    No matter what I do when I start any terminal, I found the locale commands output:
    $ ~ locale
    LANG=
    LC_CTYPE="POSIX
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=
    I found that if I open a tty, the /etc/profile.d/locale.sh is ran so, the locales are correct and locale shows the correct output.
    The weirdest thing is that my old machine doesn't load locale.sh, and still the locale it's right.
    I've search a lot through the wiki and bbs and even when there are couple of articles, none of them help me to solve this issue :(.
    I'm running my session through systemd --user (in case it means anything).
    EDIT: Add more info.
    EDIT2: Fix typo
    Last edited by pablox (2013-03-25 13:19:42)

    WorMzy wrote:
    Looks like it is, I removed it from my .zshrc and nothing changed.
    Could you check whether es_CL.UTF-8 is actually listed as an available locale?
    localectl list-locales
    And if so, whether it's correctly set
    localectl status
    $ localectl list-locales
    en_US.utf8
    es_CL.utf8
    $ localectl status
    System Locale: LANG=es_CL.UTF-8
    LC_COLLATE=C
    LC_MESSAGES=C
    VC Keymap: la-latin1
    X11 Layout: n/a
    $ locale
    LANG=
    LC_CTYPE="POSIX"
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=
    $
    Ô_o
    I have removed an empty ~/.zprofile just in case but the issue persist. Running an empty zsh shell (with zsh -f) doesn't work either.
    Last edited by pablox (2013-03-26 23:59:45)

  • [SOLVED] How to restore kernel image after wrong /etc/mkinitcpio.conf

    I wanted to learn a bit more about the kernel and boot, and I'm afraid I cannot start up my ArchLinux anymore.
    I updated the /etc/mkinitcpio.conf to make the boot faster (with this reference: http://kmandla.wordpress.com/2007/01/30 … initcpio/) and executed #mkinitcpio -p kernel26
    I thought that if there was any problem, I could start up with the "fallback image". Certainly, there was a problem (probably I didn´t loaded all the modules required) and when I tried the fallback image, I experimented the same problem:
    Root device '/dev/disk/by-uuid/...' doesn´t exist
    ramfs$
    In fact, both images are the same (or at least they have the same size)
    I tried the ArchLinux liveCD to recover my system. There's no recovery service, so I started up the CD-ROM, mounted my ArchLinux partitions, generated the images and copied into the /boot of my Archlinux partitions. But the same problem is still there.
    What could I do to fix it?
    Thank you in advance
    Last edited by jjjaime (2009-05-10 15:45:45)

    Thank you. I follow your instructions and it worked (perhaps it would be simpler with a "#pacman -Sy kernel26"). I didn't know the command chroot and it's really interesting.
    red_erik wrote:
    I have a similar problem, (read more in this thread), and I solve it by booting off the Live CD, and doing the following:
    (replace sda1 with your / partition)
    cd /
    mount -t ext3 /dev/sda1 /mnt
    mount -t proc proc /mnt/proc
    mount -t sysfs sys /mnt/sys
    mount -o bind /dev /mnt/dev
    chroot /mnt /bin/bash
    mkinitcpio -p kernel26
    after that, I exit chroot, unmount all of my partitions and reboot...:
    cd /
    umount -a
    exit
    cd /
    umount -a
    reboot
    hope this helps...

  • Warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst'

    what is the new syntax for 'SyncFirst' in pacman 4.1?
    greetings

    Allan wrote:Merge your pacman files...
    it's  the first i make when update package (merge changes in /etc/makepkg and /etc/pacman.conf)
    but need keep SyncFirst
    # If upgrades are available for these packages they will be asked for first
    SyncFirst  = linux-headers linux-lts-headers
    need this to update kernel headers before update kernel, because i use mkinitcpio to update DKMS modules [1]
    if upgrade kernel before install headers, the build dkms modules fail
    [1] https://aur.archlinux.org/packages/mkinitcpio-dkms/
    related:
    https://wiki.archlinux.org/index.php/NV … any_kernel
    https://wiki.archlinux.org/index.php/Vi … any_kernel
    Last edited by sl1pkn07 (2013-04-18 12:11:34)

  • How to convert muti-byte characters from US7ASCII database to UTF-8

    Hi Guys,
    We have a source database with CHARCTERSET as US7ASCII and our traget database has characterset of UTF-8. We have "©" symbol in the source databse and when we are inserting this value into our target database it is being converted as "¿".
    How can get make sure that "©" symbol is inserted on the target database. Both the databases are on version 10.2 but have a different CHARACTERSET. In the oracle documentation it mentioned that if the target database characterset is not a superset of source database characterset then this will happen but in our case UTF-8 is a superset of US7ASCII.
    Thanks,
    Ramu Kalvakuntla
    Edited by: user11905624 on Sep 15, 2009 2:58 PM

    user11905624 wrote:
    When I tried the DUMP('COLUMN','1016), this is what I got:
    Typ=96 Len=1 CharacterSet=US7ASCII: a9Considering 7-bit ASCII standard character set, the code 0xA9 is invalid.
    This has likely happened due to a pass-through scenario. See [NLS_LANG FAQ|http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm] (example of wrong setup). E.g. Windows 125x code pages all defines a character 'copyright sign' with encoding A9.
    If proper char set conversion takes place, I would expect (illegal) codes 0x80-FF to be "catched" and converted to replacement character (like U+fffd).
    Going back to the issue, how exactly are you transfering data or retrieving and inserting from source to target database?
    Edited by: orafad on Sep 17, 2009 10:56 PM

  • How to convert data when transferring from one table to another

    I have two tables and these are the structure of the tables
    create table E1(
    ID NUMBER
    ,NAME VARCHAR2(30)
    , DESIGNATION VARCHAR2(30)
    ,GENDER VARCHAR2(10));
    create table E2(
    ID NUMBER
    ,NAME VARCHAR2(30)
    , DESIGNATION VARCHAR2(3)
    ,GENDER NUMBER); Now I want to transfer records from one table to another using a master tables where data are compared because the datatypes in tables are different
    The first one is a gender table to match the gender and convert
    create table Gender(
    E1 varchar2(10),
    E2 number);The second is for the designation
    create table Designation(
    E1 varchar2(30),
    E2 varchar2(3);How to match and convert the data so that it can be transfered.

    Peeyush wrote:
    Can we do it with the help of a cursor.
    All SQL executed by the database are parsed as cursors and executed as cursors.
    I mean I have to insert data in bulk and I want to use cursor for it.The read and write (select and insert) are done by the SQL engine. The read part reads data and passes it to the write part that inserts the data.
    Now why would using PL/SQL and bulk processing make this faster? It will reside in-between the read part and the write part being done by the SQL engine.
    So the SQL engine reads the data. This then travels all the way to the PL/SQL engine as a bulk collect. PL./SQL then issues an insert (the write part to be done by the SQL engine). And now this very same data travels all the way from the PL/SQL engine to the SQL engine for insertion.
    So just how is this approach, where you add extra travel time to data, faster?
    and i want to commit the transaction after every 50 recordsWhy? What makes you think this is better? What makes you think you have a problem with not committing every 50 rows?

  • How to convert Panasonic *.RW2 files from a Lumix FZ200 camera?

    I have installed DNG Converter 7.3 under Windows 7 (64 bit) but DNG does not recognize those files.
    Is there a solution?
    Does adobe plan to upgrade DNG converter to include such unsupported files?
    thanks
    Brian D

    Greetings,
    I'm also having a problem with files from the FZ200. I can successfully convert the RW2 files to .DNG using the converter. However, when i try to import the new .DNG file into GIMP 2.8, it is imported at 256x192 pixels. it is still 11mg or so, but the resolution is poor. Does anyone know how to import converted RAW files into GIMP?

Maybe you are looking for

  • MULTIPLE UPDATES/INSERTIONS TO THE SAME TABLE

    How can I update/insert mutiple rows into the same table from one form ?

  • J1ID and Pricing Procedure

    Hi, We use TAXINJ procedure for our company for which Excise Rates are maintained in J1ID. Also we maintain Pricing Procedure in which different tax condition types are used.(Eg: UTXJ,JMOD etc.) IMG Notes mentions that When you create a sales documen

  • Best Codec for WMV?

    Wich is the Best Quality Codec for .Wmv? (1080p or 2k) I need to know (only for that format) for my work. The videos always loss quality,and there are visible pixels. Please if anyone knows, please tell me, and also how to get the codec if it doesnt

  • Safari not working properly with Yahoo

    Even though Yahoo has a feature that allows you to stay logged in for 2 weeks, Safari is logging me out every time I close the browser. I used to be able to stay logged in, but now EVERY time I start up Safari and go to Yahoo to check mail, local wea

  • Ringtone maker in the UK

    Hi all! Does anyone know when the Ringtone maker via Itunes will become available in the United Kingdom?? help would be appreciated. Thanks